Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MacDue committed Oct 12, 2023
1 parent 1ee33ac commit 46ad18f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlir/tools/mlir-tblgen/OpFormatGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2009,6 +2009,7 @@ static void genEnumAttrPrinter(const NamedAttribute *var, const Operator &op,
" }\n";
}

/// Generate a check that a DefaultValuedAttr has a value that is non-default.
static void genNonDefaultValueCheck(MethodBody &body, const Operator &op,
AttributeVariable &attrElement) {
FmtContext fctx;
Expand Down

0 comments on commit 46ad18f

Please sign in to comment.