Author: Aaron Ballman Date: 2025-07-30T13:00:06-04:00 New Revision: 2cf15a1a54fc45659f667113379891e6c06ce50a
URL: https://github.com/llvm/llvm-project/commit/2cf15a1a54fc45659f667113379891e6c06ce50a DIFF: https://github.com/llvm/llvm-project/commit/2cf15a1a54fc45659f667113379891e6c06ce50a.diff LOG: Silence a not all control paths return a value warning; NFC Added: Modified: clang/lib/CodeGen/CGExpr.cpp Removed: ################################################################################ diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp index 90aed796cf5ab..5a3d4e447b229 100644 --- a/clang/lib/CodeGen/CGExpr.cpp +++ b/clang/lib/CodeGen/CGExpr.cpp @@ -93,6 +93,7 @@ static llvm::StringRef GetUBSanTrapForHandler(SanitizerHandler ID) { LIST_SANITIZER_CHECKS #undef SANITIZER_CHECK } + llvm_unreachable("unhandled switch case"); } /// CreateTempAlloca - This creates a alloca and inserts it into the entry _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits