diff options
author | Nathan James <n.james93@hotmail.co.uk> | 2020-06-17 14:35:32 +0100 |
---|---|---|
committer | Nathan James <n.james93@hotmail.co.uk> | 2020-06-17 14:35:37 +0100 |
commit | ccd127008aa2aa0a303c9a0a48f4080a5bb7cd0b (patch) | |
tree | f9d8810f1992185ec24861909a8dcae6cfa56631 /llvm/lib/Support/CommandLine.cpp | |
parent | 81cbe0ca83c2f912ff612ddb65629a108197b0d1 (diff) | |
download | llvm-ccd127008aa2aa0a303c9a0a48f4080a5bb7cd0b.zip llvm-ccd127008aa2aa0a303c9a0a48f4080a5bb7cd0b.tar.gz llvm-ccd127008aa2aa0a303c9a0a48f4080a5bb7cd0b.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions