[PATCH] D53974: [clang-tidy] new check: bugprone-too-small-loop-variable
Tamás Zolnai via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 2 14:34:14 PDT 2018
ztamas updated this revision to Diff 172436.
ztamas added a comment.
- Use StringRef instead of char[]
- Add test cases about big constant / literal / enum values
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D53974
Files:
clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tidy/bugprone/CMakeLists.txt
clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp
clang-tidy/bugprone/TooSmallLoopVariableCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/bugprone-too-small-loop-variable.rst
docs/clang-tidy/checks/list.rst
test/clang-tidy/bugprone-too-small-loop-variable.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53974.172436.patch
Type: text/x-patch
Size: 18273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181102/720a3d01/attachment-0001.bin>
More information about the cfe-commits
mailing list