summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Make the OptionCategory variable static.Alexander Kornienko2014-02-051-1/+1
| | | | llvm-svn: 200841
* Clang-tidy: added --disable-checks, --list-checks options.Alexander Kornienko2013-12-191-3/+20
| | | | | | | | | | | | | | | | | | | | | | | 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
* Fix the usage of the CommonOptionsParser ctor changed in r197139.Alexander Kornienko2013-12-121-2/+1
| | | | llvm-svn: 197141
* Make clang's static analyzer checks available through clang-tidy.Manuel Klimek2013-11-141-9/+5
| | | | | | | | | | | | | This is implemented in a way that the current static analyzer architecture allows, in the future we might want to revisit this. With this change static analyzer checks are available from clang-tidy by specifying -checks=clang-analyzer-<name>. This change also fixes the use of the compilation database to allow clang-tidy to be used like any other clang tool. llvm-svn: 194707
* Fix clang-tidy dependencies and bad file comment.Daniel Jasper2013-08-041-0/+14
| | | | | | This addresses comments in post-commit review of r187345. llvm-svn: 187707
* Remove dead #includes.Hans Wennborg2013-07-311-2/+0
| | | | llvm-svn: 187536
* Fix build error caused by r187345.Daniel Jasper2013-07-291-2/+2
| | | | llvm-svn: 187346
* Initial architecture for clang-tidy.Daniel Jasper2013-07-291-0/+56
This is the first version of a possible clang-tidy architecture. The purpose of clang-tidy is to detect errors in adhering to common coding patterns, e.g. described in the LLVM Coding Standards. This is still heavily in flux. Review: http://llvm-reviews.chandlerc.com/D884 llvm-svn: 187345
OpenPOWER on IntegriCloud