[cfe-commits] r157843 - /cfe/trunk/tools/diagtool/ShowEnabledWarnings.cpp
Jordan Rose
jordan_rose at apple.com
Fri Jun 1 14:50:37 PDT 2012
Author: jrose
Date: Fri Jun 1 16:50:37 2012
New Revision: 157843
URL: http://llvm.org/viewvc/llvm-project?rev=157843&view=rev
Log:
[diagtool] Appease buildbot by adding llvm_unreachable.
Modified:
cfe/trunk/tools/diagtool/ShowEnabledWarnings.cpp
Modified: cfe/trunk/tools/diagtool/ShowEnabledWarnings.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/diagtool/ShowEnabledWarnings.cpp?rev=157843&r1=157842&r2=157843&view=diff
==============================================================================
--- cfe/trunk/tools/diagtool/ShowEnabledWarnings.cpp (original)
+++ cfe/trunk/tools/diagtool/ShowEnabledWarnings.cpp Fri Jun 1 16:50:37 2012
@@ -41,6 +41,8 @@
case DiagnosticsEngine::Error: return 'E';
case DiagnosticsEngine::Fatal: return 'F';
}
+
+ llvm_unreachable("Unknown diagnostic level");
}
static CompilerInstance *createCompiler(unsigned int argc, char **argv) {
More information about the cfe-commits
mailing list