Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ClangTidy] Separate tests for infrastructure and checkers | Dmitri Gribenko | 2019-10-11 | 1 | -18/+0 |
| | | | | | | | | | | | | | | | | | | | | Summary: This change moves tests for checkers and infrastructure into separate directories, making it easier to find infrastructure tests. Tests for checkers are already easy to find because they are named after the checker. Tests for infrastructure were difficult to find because they were outnumbered by tests for checkers. Now they are in a separate directory. Reviewers: jfb, jdoerfert, lebedev.ri Subscribers: srhines, nemanjai, aheejin, kbarton, christof, mgrang, arphaman, jfb, lebedev.ri, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D68807 llvm-svn: 374540 | ||||
* | [clang-tidy] Handle missing yaml module in run-clang-tidy.py | Zinovy Nis | 2019-03-27 | 1 | -0/+1 |
| | | | | | | | | | | | | The Yaml module is missing on some systems and on many of clang buildbots. But the test for run-clang-tidy.py doesn't fail due to 'NOT' statement masking a python runtime error. This patch conditionally imports and enables the yaml module only if it's present in the system. If not, then '-export-fixes' is disabled. Differential Revision: https://reviews.llvm.org/D59734 llvm-svn: 357114 | ||||
* | [clang-tidy] Unbreak run-clang-tidy.cpp test ↵ | Roman Lebedev | 2018-04-10 | 1 | -0/+3 |
| | | | | | | | | (modernize-use-auto.MinTypeNameLength) Again, refs. D45405, rL329730. llvm-svn: 329756 | ||||
* | run-clang-tidy: forward clang-tidy exit status | Miklos Vajna | 2018-03-19 | 1 | -0/+14 |
Exit with a non-zero value in case any of the underlying clang-tidy invocations exit with a non-zero value. This is useful in case WarningsAsErrors is enabled for some of the checks: if any of those checks find something, the exit status now reflects that. Also add the ability to use run-clang-tidy.py via lit, and assert that the exit code is not 0 when modernize-use-auto is triggered intentionally. Reviewers: alexfh, aaron.ballman Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D44366 llvm-svn: 327854 |