[llvm] 10842b4 - [Support] Work around GCC's enum support
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 8 00:13:34 PDT 2022
Author: Fangrui Song
Date: 2022-09-08T00:13:25-07:00
New Revision: 10842b44759f987777b08e7714ef77da2526473a
URL: https://github.com/llvm/llvm-project/commit/10842b44759f987777b08e7714ef77da2526473a
DIFF: https://github.com/llvm/llvm-project/commit/10842b44759f987777b08e7714ef77da2526473a.diff
LOG: [Support] Work around GCC's enum support
Added:
Modified:
llvm/include/llvm/Support/Compression.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/Compression.h b/llvm/include/llvm/Support/Compression.h
index 74ec2e90293b7..bbc1a25c2b33f 100644
--- a/llvm/include/llvm/Support/Compression.h
+++ b/llvm/include/llvm/Support/Compression.h
@@ -89,6 +89,7 @@ inline Format formatFor(DebugCompressionType Type) {
case DebugCompressionType::Zstd:
return Format::Zstd;
}
+ llvm_unreachable("invalid type");
}
struct Params {
More information about the llvm-commits
mailing list