We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a45eb62 commit fd92735Copy full SHA for fd92735
mlir/docs/Tutorials/UnderstandingTheIRStructure.md
@@ -40,8 +40,8 @@ the nested regions and print them individually:
40
if (!op->getAttrs().empty()) {
41
printIndent() << op->getAttrs().size() << " attributes:\n";
42
for (NamedAttribute attr : op->getAttrs())
43
- printIndent() << " - '" << attr.first << "' : '" << attr.second
44
- << "'\n";
+ printIndent() << " - '" << attr.getName() << "' : '"
+ << attr.getValue() << "'\n";
45
}
46
47
// Recurse into each of the regions attached to the operation.
0 commit comments