[PATCH] D142587: [clang-tidy] Improved too-small-loop-variable with bit-field support
Piotr Zegar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 25 15:20:57 PST 2023
ClockMan created this revision.
Herald added subscribers: carlosgalvezp, xazax.hun.
Herald added a reviewer: njames93.
Herald added a project: All.
ClockMan published this revision for review.
ClockMan added a comment.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
Ready for review.
Implemented support for bit-field members as a loop variable
or upper limit. Supporting also non bit-field integer members.
Fixes issues: https://github.com/llvm/llvm-project/issues/58614
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142587
Files:
clang-tools-extra/clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/bugprone/too-small-loop-variable.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142587.492265.patch
Type: text/x-patch
Size: 10359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230125/fbc007f8/attachment-0001.bin>
More information about the cfe-commits
mailing list