summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/clang-tidy-diff.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] Move misc-use-override and readability-shrink-to-fit to ↵Alexander Kornienko2015-08-311-2/+2
| | | | | | | | | "modernize/" These checks are focusing on migrating the code from C++98/03 to C++11, so they belong to the modernize module. llvm-svn: 246437
* Tweak clang-tidy-diff.py to pass JSON argument correctly to clang-tidy on ↵NAKAMURA Takumi2015-08-201-3/+0
| | | | | | | | | | | win32 arg parser. - Single quotation is not recognized. - Use """ to pass a double quotation. It also reverts r211831. llvm-svn: 245567
* clang-tools-extra/test/lit.cfg: Prune an obsolete feature, python27. Now we ↵NAKAMURA Takumi2015-08-201-1/+0
| | | | | | | | requires python>=2.7. clang-tools-extra/test/clang-tidy/clang-tidy-diff.cpp was the only user. llvm-svn: 245565
* [clang-tidy] Various improvements in misc-use-overrideAlexander Kornienko2015-02-271-3/+3
| | | | | | | | | | | * Better error message when more than one of 'virtual', 'override' and 'final' is present ("X is/are redundant since the function is already declared Y"). * Convert the messages to the style used in Clang diagnostics: lower case initial letter, no trailing period. * Don't run the check for files compiled in pre-C++11 mode (http://llvm.org/PR22638). llvm-svn: 230765
* [clang-tidy] Count errors in ClangTidyDiagnosticConsumerAlexander Kornienko2014-11-201-1/+1
| | | | | | | This re-applies r222363 reverted in r222390 after compilation errors in our out-of-tree clang-tidy tests were fixed. llvm-svn: 222427
* Revert r222363: "[clang-tidy] Count errors in ClangTidyDiagnosticConsumer"Hans Wennborg2014-11-191-1/+1
| | | | | | | This was causing clang-tidy invocations that would previously pass despite source errors to fail. llvm-svn: 222390
* [clang-tidy] Count errors in ClangTidyDiagnosticConsumerAlexander Kornienko2014-11-191-1/+1
| | | | llvm-svn: 222363
* clang-tidy: [use-override] Tweak messages.Daniel Jasper2014-07-281-3/+3
| | | | | | | | It doesn't make sense to suggest 'virtual' as clang-tidy would complain about that on the next iteration (we are never issuing warnings for the base function). llvm-svn: 214063
* Suppress clang-tools-extra/test/clang-tidy/clang-tidy-diff.cpp on win32 due ↵NAKAMURA Takumi2014-06-271-0/+3
| | | | | | | | to dos path issue. I'll fix it later. llvm-svn: 211831
* Make the clang-tidy-diff.py test conditional on the presence of Python 2.7. ↵Alexander Kornienko2014-06-261-1/+2
| | | | | | Use the python binary from the configuration. llvm-svn: 211789
* Suppress clang-tidy-diff.py. It is incompatible to py26 due to argparse.NAKAMURA Takumi2014-06-251-1/+1
| | | | llvm-svn: 211741
* Apparently, some versions of diff like -U0 more than -u0.Alexander Kornienko2014-06-251-1/+1
| | | | llvm-svn: 211703
* Add clang-tidy-diff.py script to run clang-tidy and display warnings on ↵Alexander Kornienko2014-06-251-0/+18
changed lines only. Reviewers: djasper Reviewed By: djasper Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4288 llvm-svn: 211698
OpenPOWER on IntegriCloud