[all-commits] [llvm/llvm-project] c52b18: [clang-tidy] Avoid overflow when dumping unsigned ...
ealcdan via All-commits
all-commits at lists.llvm.org
Tue Apr 23 04:03:31 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c52b18d1e41107067b7557d8af3a06e6fe0beb0f
https://github.com/llvm/llvm-project/commit/c52b18d1e41107067b7557d8af3a06e6fe0beb0f
Author: ealcdan <daniel.alcaide.nombela at ericsson.com>
Date: 2024-04-23 (Tue, 23 Apr 2024)
Changed paths:
M clang-tools-extra/clang-tidy/ClangTidyCheck.cpp
M clang-tools-extra/clang-tidy/ClangTidyCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/5/.clang-tidy
M clang-tools-extra/test/clang-tidy/infrastructure/config-files.cpp
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list