[clang-tools-extra] [clang-tidy] Fix modernize-use-integer-sign-comparison comparison (PR #121506)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 11 01:09:24 PST 2025
================
@@ -301,6 +301,11 @@ Changes in existing checks
<clang-tidy/checks/modernize/use-designated-initializers>` check to fix a
crash when a class is declared but not defined.
+- Improved :doc:`modernize-use-integer-sign-comparison
+ <clang-tidy/checks/modernize/use-integer-sign-comparison>` check to
+ add an option ``ConsideringIntegerSize``, that ignores a comparison between
----------------
PiotrZSL wrote:
Consider something in this style:
Improved XYZ check to ignore comparisons between signed wide and unsigned narrow integer types, configurable via the `ConsideringIntegerSize` option.
https://github.com/llvm/llvm-project/pull/121506
More information about the cfe-commits
mailing list