Skip to content

Commit f7097b2

Browse files
committed
clang-format
1 parent 72a8e79 commit f7097b2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

mlir/tools/mlir-tblgen/OpFormatGen.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2034,7 +2034,8 @@ static void genPropDictPrinter(OperationFormat &fmt, Operator &op,
20342034
body << " elidedProps.push_back(\"" << namedAttr->name << "\");\n";
20352035

20362036
// Add code to check attributes for equality with their default values.
2037-
// Default-valued attributes will not be printed when their value matches the default.
2037+
// Default-valued attributes will not be printed when their value matches the
2038+
// default.
20382039
for (const NamedAttribute &namedAttr : op.getAttributes()) {
20392040
const Attribute &attr = namedAttr.attr;
20402041
if (!attr.isDerivedAttr() && attr.hasDefaultValue()) {
@@ -2080,9 +2081,10 @@ static void genAttrDictPrinter(OperationFormat &fmt, Operator &op,
20802081
body << " elidedAttrs.push_back(\"" << key << "\");\n";
20812082
for (const NamedAttribute *attr : fmt.usedAttributes)
20822083
body << " elidedAttrs.push_back(\"" << attr->name << "\");\n";
2083-
2084+
20842085
// Add code to check attributes for equality with their default values.
2085-
// Default-valued attributes will not be printed when their value matches the default.
2086+
// Default-valued attributes will not be printed when their value matches the
2087+
// default.
20862088
for (const NamedAttribute &namedAttr : op.getAttributes()) {
20872089
const Attribute &attr = namedAttr.attr;
20882090
if (!attr.isDerivedAttr() && attr.hasDefaultValue()) {

0 commit comments

Comments
 (0)