From 872e0f4b7cc7aeef5b2c7eae9d1b7e5efa9c2b2f Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Fri, 2 Aug 2013 09:37:20 +0000 Subject: [PATCH] Pacify GCC, which worries about falling off the end of the switch. llvm-svn: 187649 --- lib/MC/MCInstPrinter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/MC/MCInstPrinter.cpp b/lib/MC/MCInstPrinter.cpp index c729d498044..6a452c8d4a7 100644 --- a/lib/MC/MCInstPrinter.cpp +++ b/lib/MC/MCInstPrinter.cpp @@ -89,6 +89,7 @@ format_object1 MCInstPrinter::formatHex(const int64_t Value) const { return format("%" PRIx64 "h", Value); } } + llvm_unreachable("unsupported print style"); } format_object1 MCInstPrinter::formatHex(const uint64_t Value) const { @@ -101,4 +102,5 @@ format_object1 MCInstPrinter::formatHex(const uint64_t Value) const { else return format("%" PRIx64 "h", Value); } + llvm_unreachable("unsupported print style"); }