[PATCH] D81953: [clang-tidy] warnings-as-error no longer exits with ErrorCount
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 17 06:59:01 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGccd127008aa2: [clang-tidy] warnings-as-error no longer exits with ErrorCount (authored by njames93).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81953/new/
https://reviews.llvm.org/D81953
Files:
clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
Index: clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
===================================================================
--- clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
+++ clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
@@ -478,7 +478,7 @@
llvm::errs() << WErrorCount << " warning" << Plural << " treated as error"
<< Plural << "\n";
}
- return WErrorCount;
+ return 1;
}
if (FoundErrors) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81953.271360.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200617/4fb3f8c5/attachment.bin>
More information about the cfe-commits
mailing list