Skip to content

Commit

Permalink
[CIR][IR] Remove duplicit optional of struct ast parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Sep 18, 2023
1 parent 6ede214 commit ac1f8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/include/clang/CIR/Dialect/IR/CIRTypes.td
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def CIR_StructType : CIR_Type<"Struct", "struct",
"bool":$body,
"bool":$packed,
"mlir::cir::StructType::RecordKind":$kind,
OptionalParameter<"std::optional<ASTRecordDeclInterface>">:$ast
"std::optional<ASTRecordDeclInterface>":$ast
);

let hasCustomAssemblyFormat = 1;
Expand Down

0 comments on commit ac1f8b7

Please sign in to comment.