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 9bd5bfc commit 398e48aCopy full SHA for 398e48a
mlir/lib/AsmParser/AttributeParser.cpp
@@ -309,7 +309,7 @@ ParseResult Parser::parseAttributeDict(NamedAttrList &attributes) {
309
else
310
return emitWrongTokenError("expected attribute name");
311
312
- if (nameId->size() == 0)
+ if (nameId->empty())
313
return emitError("expected valid attribute name");
314
315
if (!seenKeys.insert(*nameId).second)
0 commit comments