summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2013-08-02 09:37:20 +0000
committerDuncan Sands <baldrick@free.fr>2013-08-02 09:37:20 +0000
commit3194fca45fccafc8b9c97975e62afdde7f8c54cc (patch)
tree09abf06be70d5bc7d088c16ca747db1100d97248 /llvm/lib
parent90daaf913248e0affa2a708e0bf4247d142c2e80 (diff)
downloadbcm5719-llvm-3194fca45fccafc8b9c97975e62afdde7f8c54cc.tar.gz
bcm5719-llvm-3194fca45fccafc8b9c97975e62afdde7f8c54cc.zip
Pacify GCC, which worries about falling off the end of the switch.
llvm-svn: 187649
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/MC/MCInstPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCInstPrinter.cpp b/llvm/lib/MC/MCInstPrinter.cpp
index c729d498044..6a452c8d4a7 100644
--- a/llvm/lib/MC/MCInstPrinter.cpp
+++ b/llvm/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");
}
OpenPOWER on IntegriCloud