Skip to content

Commit 9671d1d

Browse files
author
Jinsong Ji
committed
[clang]Fixup clang -Werror,,-Wcovered-switch-default build failures
llvm/clang/lib/CodeGen/CGBuiltin.cpp:6877:3: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default] Similar to https://reviews.llvm.org/rG7b3de1e811972b874d91554642ccb2ef5b32eed6
1 parent 60b403e commit 9671d1d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/CodeGen/CGBuiltin.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6873,9 +6873,6 @@ Value *CodeGenFunction::EmitARMMVEBuiltinExpr(unsigned BuiltinID,
68736873
}
68746874
return ToReturn;
68756875
}
6876-
6877-
default:
6878-
llvm_unreachable("bad CustomCodegen enum value");
68796876
}
68806877
}
68816878

0 commit comments

Comments
 (0)