projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0987211
)
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239814
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/LLVMContext.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/LLVMContext.cpp
b/lib/IR/LLVMContext.cpp
index 0cd2a34eb16868484e0742963c930b0900419600..6d799e4b96505a5d722df6892e92a622bb205057 100644
(file)
--- a/
lib/IR/LLVMContext.cpp
+++ b/
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) {