[all-commits] [llvm/llvm-project] ccd127: [clang-tidy] warnings-as-error no longer exits wit...
Nathan James via All-commits
all-commits at lists.llvm.org
Wed Jun 17 06:36:23 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ccd127008aa2aa0a303c9a0a48f4080a5bb7cd0b
https://github.com/llvm/llvm-project/commit/ccd127008aa2aa0a303c9a0a48f4080a5bb7cd0b
Author: Nathan James <n.james93 at hotmail.co.uk>
Date: 2020-06-17 (Wed, 17 Jun 2020)
Changed paths:
M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
Log Message:
-----------
[clang-tidy] warnings-as-error no longer exits with ErrorCount
When using `-warnings-as-errors`, If there are any warnings promoted to errors, clang-tidy exits with the number of warnings. This really isn't needed and can cause issues when the number of warnings doesn't fit into 8 bits as POSIX terminals aren't designed to handle more than that.
This addresses https://bugs.llvm.org/show_bug.cgi?id=46305.
Bug originally added in D15528
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D81953
More information about the All-commits
mailing list