Skip to content

Commit 117a3dd

Browse files
AaronBallmangithub-actions[bot]
authored andcommitted
Automerge: Silence a not all control paths return a value warning; NFC
2 parents 164c364 + 2cf15a1 commit 117a3dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/CodeGen/CGExpr.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ static llvm::StringRef GetUBSanTrapForHandler(SanitizerHandler ID) {
9393
LIST_SANITIZER_CHECKS
9494
#undef SANITIZER_CHECK
9595
}
96+
llvm_unreachable("unhandled switch case");
9697
}
9798

9899
/// CreateTempAlloca - This creates a alloca and inserts it into the entry

0 commit comments

Comments
 (0)