File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def Symbol : OpInterface<"SymbolOpInterface"> {
31
31
32
32
let methods = [
33
33
InterfaceMethod<"Returns the name of this symbol.",
34
- "StringAttr", "getNameAttr", (ins), [{
34
+ "::mlir:: StringAttr", "getNameAttr", (ins), [{
35
35
// Don't rely on the trait implementation as optional symbol operations
36
36
// may override this.
37
37
return mlir::SymbolTable::getSymbolName($_op);
@@ -178,13 +178,13 @@ def Symbol : OpInterface<"SymbolOpInterface"> {
178
178
using Visibility = mlir::SymbolTable::Visibility;
179
179
180
180
/// Convenience version of `getNameAttr` that returns a StringRef.
181
- StringRef getName() {
181
+ ::mlir:: StringRef getName() {
182
182
return getNameAttr().getValue();
183
183
}
184
184
185
185
/// Convenience version of `setName` that take a StringRef.
186
- void setName(StringRef name) {
187
- setName(StringAttr::get($_op->getContext(), name));
186
+ void setName(::mlir:: StringRef name) {
187
+ setName(::mlir:: StringAttr::get($_op->getContext(), name));
188
188
}
189
189
}];
190
190
You can’t perform that action at this time.
0 commit comments