Skip to content

Commit 2cf15a1

Browse files
committed
Silence a not all control paths return a value warning; NFC
1 parent 1a53553 commit 2cf15a1

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)