diff options
| author | ealcdan <daniel.alcaide.nombela@ericsson.com> | 2024-04-23 13:03:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-23 13:03:09 +0200 |
| commit | c52b18d1e41107067b7557d8af3a06e6fe0beb0f (patch) | |
| tree | 7a2f9ccfa080e3f7766d8e0d3f39273ad7709685 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
| parent | bac5d8ed036869bc65ba2eef6d4afd671ca7c72b (diff) | |
| download | llvm-c52b18d1e41107067b7557d8af3a06e6fe0beb0f.zip llvm-c52b18d1e41107067b7557d8af3a06e6fe0beb0f.tar.gz llvm-c52b18d1e41107067b7557d8af3a06e6fe0beb0f.tar.bz2 | |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions
