commit | 7010c59d3ce61fa6cc6a09fe5c0bae6605be3f9a | [log] [tgz] |
---|---|---|
author | ealcdan <daniel.alcaide.nombela@ericsson.com> | Tue Apr 23 13:03:09 2024 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Apr 23 04:10:36 2024 -0700 |
tree | d94b6be1169fda7aeced21b0c7e4bf967d619975 | |
parent | 6509817f7296b4cb1022f72342e988e8b32b80b4 [diff] |
[clang-tidy] Avoid overflow when dumping unsigned integer values (#85060) Some options take the maximum unsigned integer value as default, but they are being dumped to a string as integers. This makes -dump-config write invalid '-1' values for these options. This change fixes this issue by using utostr if the option is unsigned. Fixes #60217 GitOrigin-RevId: c52b18d1e41107067b7557d8af3a06e6fe0beb0f