[PATCH] Clang-tidy: added --disable-checks, --list-checks options.
Alexander Kornienko
alexfh at google.com
Thu Dec 19 09:41:28 PST 2013
Hi djasper,
Allow disabling checks by regex. By default, disable alpha.* checks,
that are not particularly good tested (e.g. IdempotentOperationChecker, see
http://llvm-reviews.chandlerc.com/D2427).
Fixed a bug, that would disable all analyzer checks, when using a regex more
strict, than 'clang-analyzer-', for example --checks='clang-analyzer-deadcode-'.
Added --list-checks to list all enabled checks. This is useful to test specific
values in --checks/--disable-checks.
http://llvm-reviews.chandlerc.com/D2444
Files:
clang-tidy/ClangTidy.cpp
clang-tidy/ClangTidy.h
clang-tidy/ClangTidyModule.cpp
clang-tidy/ClangTidyModule.h
clang-tidy/tool/ClangTidyMain.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2444.1.patch
Type: text/x-patch
Size: 15253 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131219/9b731a32/attachment.bin>
More information about the cfe-commits
mailing list