hanchenye-llvm-project/clang-tools-extra/clang-tidy
Alexander Kornienko fb9e92b167 Clang-tidy: added --disable-checks, --list-checks options.
Summary:
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.

Reviewers: djasper, klimek

Reviewed By: klimek

CC: cfe-commits, klimek

Differential Revision: http://llvm-reviews.chandlerc.com/D2444

llvm-svn: 197717
2013-12-19 19:57:05 +00:00
..
google [CMake] clang-tools-extra: Update dependencies. 2013-12-10 01:41:10 +00:00
llvm [CMake] clang-tools-extra: Update dependencies. 2013-12-10 01:41:10 +00:00
tool Clang-tidy: added --disable-checks, --list-checks options. 2013-12-19 19:57:05 +00:00
CMakeLists.txt [CMake] clang-tools-extra: Update dependencies. 2013-12-10 01:41:10 +00:00
ClangTidy.cpp Clang-tidy: added --disable-checks, --list-checks options. 2013-12-19 19:57:05 +00:00
ClangTidy.h Clang-tidy: added --disable-checks, --list-checks options. 2013-12-19 19:57:05 +00:00
ClangTidyDiagnosticConsumer.h Make clang's static analyzer checks available through clang-tidy. 2013-11-14 15:49:44 +00:00
ClangTidyModule.cpp Clang-tidy: added --disable-checks, --list-checks options. 2013-12-19 19:57:05 +00:00
ClangTidyModule.h Clang-tidy: added --disable-checks, --list-checks options. 2013-12-19 19:57:05 +00:00
ClangTidyModuleRegistry.h
Makefile Fix clang-tidy dependencies and bad file comment. 2013-08-04 15:56:30 +00:00