projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc087ec
)
Silence an MSVC warning about not all control paths returning a value; NFC.
author
Aaron Ballman
<aaron@aaronballman.com>
Tue, 16 Jun 2015 13:14:59 +0000
(13:14 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Tue, 16 Jun 2015 13:14:59 +0000
(13:14 +0000)
llvm-svn: 239814
llvm/lib/IR/LLVMContext.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/IR/LLVMContext.cpp
b/llvm/lib/IR/LLVMContext.cpp
index
0cd2a34
..
6d799e4
100644
(file)
--- a/
llvm/lib/IR/LLVMContext.cpp
+++ b/
llvm/lib/IR/LLVMContext.cpp
@@
-210,6
+210,7
@@
static const char *getDiagnosticMessagePrefix(DiagnosticSeverity Severity) {
case DS_Note:
return "note";
}
+ llvm_unreachable("Unknown DiagnosticSeverity");
}
void LLVMContext::diagnose(const DiagnosticInfo &DI) {