Author: Andy Kaylor
Date: 2025-07-31T09:46:25-07:00
New Revision: 3ca2050aa62bde68c74ddbb6c2501bd49831dd22

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

LOG: [CIR] Fix fallthrough warning (#151418)

This fixes a warning about an unannotated fallthrough.

Added: 
    

Modified: 
    clang/lib/CIR/CodeGen/CIRGenFunction.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/CIR/CodeGen/CIRGenFunction.cpp 
b/clang/lib/CIR/CodeGen/CIRGenFunction.cpp
index c65d0254bf8e6..3e9de17e7a85f 100644
--- a/clang/lib/CIR/CodeGen/CIRGenFunction.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenFunction.cpp
@@ -943,6 +943,7 @@ void CIRGenFunction::emitVariablyModifiedType(QualType 
type) {
     case Type::HLSLInlineSpirv:
     case Type::PredefinedSugar:
       cgm.errorNYI("CIRGenFunction::emitVariablyModifiedType");
+      break;
 
 #define TYPE(Class, Base)
 #define ABSTRACT_TYPE(Class, Base)


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to