Skip to content

Commit 10842b4

Browse files
committed
[Support] Work around GCC's enum support
1 parent 9397648 commit 10842b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/Support/Compression.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ inline Format formatFor(DebugCompressionType Type) {
8989
case DebugCompressionType::Zstd:
9090
return Format::Zstd;
9191
}
92+
llvm_unreachable("invalid type");
9293
}
9394

9495
struct Params {

0 commit comments

Comments
 (0)