[PATCH] D23135: [clang-tidy] misc-argument-comment non-strict mode

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 3 14:05:39 PDT 2016


alexfh created this revision.
alexfh added a reviewer: hokein.
alexfh added a subscriber: cfe-commits.

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.

https://reviews.llvm.org/D23135

Files:
  clang-tidy/ClangTidy.h
  clang-tidy/misc/ArgumentCommentCheck.cpp
  clang-tidy/misc/ArgumentCommentCheck.h
  test/clang-tidy/misc-argument-comment-strict.cpp
  test/clang-tidy/misc-argument-comment.cpp
  unittests/clang-tidy/MiscModuleTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23135.66712.patch
Type: text/x-patch
Size: 11216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160803/76667ab0/attachment-0001.bin>


More information about the cfe-commits mailing list