[clang-tools-extra] r303344 - Fix 'not all control paths return a value' warning on windows buildbots.
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Thu May 18 03:48:23 PDT 2017
Author: rksimon
Date: Thu May 18 05:48:23 2017
New Revision: 303344
URL: http://llvm.org/viewvc/llvm-project?rev=303344&view=rev
Log:
Fix 'not all control paths return a value' warning on windows buildbots.
Modified:
clang-tools-extra/trunk/clang-tidy/ClangTidyDiagnosticConsumer.cpp
Modified: clang-tools-extra/trunk/clang-tidy/ClangTidyDiagnosticConsumer.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/ClangTidyDiagnosticConsumer.cpp?rev=303344&r1=303343&r2=303344&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/ClangTidyDiagnosticConsumer.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/ClangTidyDiagnosticConsumer.cpp Thu May 18 05:48:23 2017
@@ -170,6 +170,7 @@ public:
Result = Globs.contains(S) ? Yes : No;
return Result == Yes;
}
+ llvm_unreachable("invalid enum");
}
private:
More information about the cfe-commits
mailing list