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:
e393b73
)
Pacify GCC, which worries about falling off the end of the switch.
author
Duncan Sands
<baldrick@free.fr>
Fri, 2 Aug 2013 09:37:20 +0000
(09:37 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Fri, 2 Aug 2013 09:37:20 +0000
(09:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187649
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCInstPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCInstPrinter.cpp
b/lib/MC/MCInstPrinter.cpp
index c729d498044befb6030e83e9a910c55ef347dbbd..6a452c8d4a7f50fd5ae42f31ea3f8cc4c4733b33 100644
(file)
--- a/
lib/MC/MCInstPrinter.cpp
+++ b/
lib/MC/MCInstPrinter.cpp
@@
-89,6
+89,7
@@
format_object1<int64_t> MCInstPrinter::formatHex(const int64_t Value) const {
return format("%" PRIx64 "h", Value);
}
}
+ llvm_unreachable("unsupported print style");
}
format_object1<uint64_t> MCInstPrinter::formatHex(const uint64_t Value) const {
@@
-101,4
+102,5
@@
format_object1<uint64_t> MCInstPrinter::formatHex(const uint64_t Value) const {
else
return format("%" PRIx64 "h", Value);
}
+ llvm_unreachable("unsupported print style");
}