[diagtool] Appease buildbot by adding llvm_unreachable.

llvm-svn: 157843
This commit is contained in:
Jordan Rose 2012-06-01 21:50:37 +00:00
parent d617e06997
commit dbdef881a8
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ static char getFlagForLevel(DiagnosticsEngine::Level Level) {
case DiagnosticsEngine::Error: return 'E';
case DiagnosticsEngine::Fatal: return 'F';
}
llvm_unreachable("Unknown diagnostic level");
}
static CompilerInstance *createCompiler(unsigned int argc, char **argv) {