[clang-tidy] Improved too-small-loop-variable with bit-field support
authorPiotr Zegar <me@piotrzegar.pl>
Sun, 26 Feb 2023 14:54:36 +0000 (14:54 +0000)
committerPiotr Zegar <piotr.zegar@nokia.com>
Sun, 26 Feb 2023 14:54:36 +0000 (14:54 +0000)
commitc7dac52203a0c056bfcb35735e62c37a64e50bfa
tree9f33325389546e4e44fe5f02e5029f1995df1070
parent01cfdf1f8d44928397b28fe56b1b9ca4884ab258
[clang-tidy] Improved too-small-loop-variable with bit-field support

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

Reviewed By: carlosgalvezp

Differential Revision: https://reviews.llvm.org/D142587
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