[clang-tools-extra] FIX : bugprone-too-small-loop-variable - false-negative when const variable is used as loop bound (PR #81183)
Shourya Goel via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 8 22:25:27 PST 2024
================
@@ -169,6 +169,9 @@ Miscellaneous
option is specified. Now ``clang-apply-replacements`` applies formatting only with
the option.
+- Fixed incorrect implementation of ``too-small-loop-variable`` check when a const loop
+ variable is initialized with a function declaration.
+
----------------
Sh0g0-1758 wrote:
done.
https://github.com/llvm/llvm-project/pull/81183
More information about the cfe-commits
mailing list