Skip to content

Commit 3ca2050

Browse files
authored
[CIR] Fix fallthrough warning (#151418)
This fixes a warning about an unannotated fallthrough.
1 parent b59cb28 commit 3ca2050

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/CIR/CodeGen/CIRGenFunction.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,7 @@ void CIRGenFunction::emitVariablyModifiedType(QualType type) {
943943
case Type::HLSLInlineSpirv:
944944
case Type::PredefinedSugar:
945945
cgm.errorNYI("CIRGenFunction::emitVariablyModifiedType");
946+
break;
946947

947948
#define TYPE(Class, Base)
948949
#define ABSTRACT_TYPE(Class, Base)

0 commit comments

Comments
 (0)