Switch assert(0/false) llvm_unreachable.

llvm-svn: 140367
This commit is contained in:
David Blaikie
2011-09-23 05:06:16 +00:00
parent 42fe6bd5f2
commit 83d382b1ca
117 changed files with 342 additions and 336 deletions

View File

@@ -275,7 +275,7 @@ static raw_ostream *GetOutputStream(CompilerInstance &CI,
return CI.createDefaultOutputFile(true, InFile, "o");
}
assert(0 && "Invalid action!");
llvm_unreachable("Invalid action!");
return 0;
}