hanchenye-llvm-project/clang-tools-extra
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
..
clang-apply-replacements [CMake] clang-tools-extra: Update dependencies. 2013-12-10 01:41:10 +00:00
clang-modernize [CMake] clang-tools-extra: Update dependencies. 2013-12-10 01:41:10 +00:00
clang-query [CMake] clang-tools-extra: Update dependencies. 2013-12-10 01:41:10 +00:00
clang-tidy Clang-tidy: added --disable-checks, --list-checks options. 2013-12-19 19:57:05 +00:00
docs Fix a variety of user-visible and comment typos 2013-12-01 05:08:12 +00:00
modularize Fix assertion error. 2013-12-10 02:26:44 +00:00
pp-trace [CMake] clang-tools-extra: Update dependencies. 2013-12-10 01:41:10 +00:00
remove-cstr-calls [CMake] clang-tools-extra: Update dependencies. 2013-12-10 01:41:10 +00:00
test check-clang-tools: Prune 'clang' stuff. Clang is not used here. 2013-12-09 19:27:46 +00:00
tool-template [CMake] clang-tools-extra: Update dependencies. 2013-12-10 01:41:10 +00:00
unittests [CMake] clang-tools-extra: Update dependencies. 2013-12-10 01:41:10 +00:00
.arcconfig Add .arcconfig for Arcanist support for Phabricator 2013-01-10 04:12:08 +00:00
.gitignore .gitignore: ignore docs/_build 2013-03-03 15:15:12 +00:00
CMakeLists.txt Introduce clang-query tool. 2013-11-08 00:08:23 +00:00
CODE_OWNERS.TXT Switching code owner email address. 2013-10-08 16:28:05 +00:00
LICENSE.TXT Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
Makefile Introduce clang-query tool. 2013-11-08 00:08:23 +00:00
README.txt Reverted Test commit; added new line to the end of README.txt 2013-10-12 20:43:36 +00:00

README.txt

//===----------------------------------------------------------------------===//
// Clang Tools repository
//===----------------------------------------------------------------------===//

Welcome to the repository of extra Clang Tools.  This repository holds tools
that are developed as part of the LLVM compiler infrastructure project and the
Clang frontend.  These tools are kept in a separate "extra" repository to
allow lighter weight checkouts of the core Clang codebase.

This repository is only intended to be checked out inside of a full LLVM+Clang
tree, and in the 'tools/extra' subdirectory of the Clang checkout.

All discussion regarding Clang, Clang-based tools, and code in this repository
should be held using the standard Clang mailing lists:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Code review for this tree should take place on the standard Clang patch and
commit lists:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

If you find a bug in these tools, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/