[llvm] 3514f58 - Fix MSVC "not all control paths return a value" warning. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 07:01:38 PDT 2020
Author: Simon Pilgrim
Date: 2020-07-09T15:01:13+01:00
New Revision: 3514f58fbea5967a967468633c901e9b2f241594
URL: https://github.com/llvm/llvm-project/commit/3514f58fbea5967a967468633c901e9b2f241594
DIFF: https://github.com/llvm/llvm-project/commit/3514f58fbea5967a967468633c901e9b2f241594.diff
LOG: Fix MSVC "not all control paths return a value" warning. NFC.
Added:
Modified:
llvm/tools/llvm-objdump/llvm-objdump.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-objdump/llvm-objdump.cpp b/llvm/tools/llvm-objdump/llvm-objdump.cpp
index 7d282074efa6..320bbb5d358b 100644
--- a/llvm/tools/llvm-objdump/llvm-objdump.cpp
+++ b/llvm/tools/llvm-objdump/llvm-objdump.cpp
@@ -811,6 +811,7 @@ class LiveVariablePrinter {
case LineChar::LabelHoriz:
return IsASCII ? "-" : u8"\u2500";
}
+ llvm_unreachable("Unhandled LineChar enum");
}
/// Print live ranges to the right of an existing line. This assumes the
More information about the llvm-commits
mailing list