llvm-project/clang-tools-extra/clang-tidy/tool
Miklos Vajna 10fe9bc79e run-clang-tidy: forward clang-tidy exit status
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
2018-03-19 14:43:59 +00:00
..
CMakeLists.txt [clang-tidy] Add Zircon module to clang-tidy 2018-03-14 23:47:50 +00:00
ClangTidyMain.cpp [clang-tidy] Add Zircon module to clang-tidy 2018-03-14 23:47:50 +00:00
clang-tidy-diff.py [clang-tidy] Add -path option to clang-tidy-diff.py 2017-02-17 19:31:43 +00:00
run-clang-tidy.py run-clang-tidy: forward clang-tidy exit status 2018-03-19 14:43:59 +00:00