[clang] 3ca2050 - [CIR] Fix fallthrough warning (#151418)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 31 09:46:29 PDT 2025
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)
More information about the cfe-commits
mailing list