// Convert the parsed name attr into a string attr.
result.attributes.set(mlir::SymbolTable::getSymbolAttrName(),
- parser.getBuilder().getStringAttr(nameAttr.getRootReference()));
+ nameAttr.getRootReference());
// Parse the optional table body.
mlir::Region *body = result.addRegion();
result.attributes))
return mlir::failure();
result.addAttribute(mlir::SymbolTable::getSymbolAttrName(),
- builder.getStringAttr(nameAttr.getRootReference()));
+ nameAttr.getRootReference());
bool simpleInitializer = false;
if (mlir::succeeded(parser.parseOptionalLParen())) {