Skip to content

Commit 1629f20

Browse files
committed
Fix compiling assert
1 parent f79fe74 commit 1629f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenException.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ static void emitCatchDispatchBlock(CIRGenFunction &cgf,
386386
const EHCatchScope::Handler &handler = catchScope.getHandler(i);
387387

388388
[[maybe_unused]] mlir::TypedAttr typeValue = handler.type.rtti;
389-
assert(handler.Type.Flags == 0 && "catch handler flags not supported");
389+
assert(handler.type.flags == 0 && "catch handler flags not supported");
390390
assert(typeValue && "fell into catch-all case!");
391391

392392
// Check for address space mismatch

0 commit comments

Comments
 (0)