The misc-argument-comment check now ignores leading and trailing underscores and
case. The new StrictMode local/global option can be used to switch back to
strict checking.
Add getLocalOrGlobal version for integral types, minor cleanups.
Paths
| Differential D23135
[clang-tidy] misc-argument-comment non-strict mode ClosedPublic Authored by alexfh on Aug 3 2016, 2:05 PM.
Details Summary The misc-argument-comment check now ignores leading and trailing underscores and Add getLocalOrGlobal version for integral types, minor cleanups.
Diff Detail Event Timelinealexfh updated this object. aaron.ballman added inline comments.
alexfh marked 2 inline comments as done. Comment Actions
alexfh added inline comments.
This revision is now accepted and ready to land.Aug 4 2016, 7:45 AM
Comment Actions hokein: I'm committing the patch; if you have more comments, I'm happy to address them in a follow-up. Closed by commit rL277729: [clang-tidy] misc-argument-comment non-strict mode (authored by alexfh). · Explain WhyAug 4 2016, 8:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 66796 clang-tidy/ClangTidy.h
clang-tidy/misc/ArgumentCommentCheck.h
clang-tidy/misc/ArgumentCommentCheck.cpp
docs/clang-tidy/checks/misc-argument-comment.rst
test/clang-tidy/misc-argument-comment-strict.cpp
test/clang-tidy/misc-argument-comment.cpp
unittests/clang-tidy/MiscModuleTest.cpp
|
I think we should add a StringMode description in ArgumentCommentCheck's document.