Author: Aaron Ballman
Date: 2026-09-01T11:59:42Z
New Revision: bd736b03dbc727f9ea80747e71455aa13a5855e1

URL: 
https://github.com/llvm/llvm-project/commit/bd736b03dbc727f9ea80747e71455aa13a5855e1
DIFF: 
https://github.com/llvm/llvm-project/commit/bd736b03dbc727f9ea80747e71455aa13a5855e1.diff

LOG: Silence an MSVC diagnostic; NFC (#220219)

This was emitting a "not all control paths return" diagnostic in MSVC

Added: 
    

Modified: 
    clang/lib/CodeGen/CGCall.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index 63b07ae606353..1221829871b9f 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -129,6 +129,7 @@ unsigned 
CodeGenTypes::ClangCallConvToLLVMCallConv(CallingConv CC) {
     CC_VLS_CASE(65536)
 #undef CC_VLS_CASE
   }
+  llvm_unreachable("unhandled calling convention");
 }
 
 /// Derives the 'this' type for codegen purposes, i.e. ignoring method CVR


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to