Skip to content

Commit 7fd1466

Browse files
authored
[mlir] Fix CallOpInterface extraClassDeclaration to be fully namespace qualified (#81258)
`extraClassDeclaration` of `CallOpInterface` can be inherited by other `OpInterfaces` into foreign namespaces, thus types must be fully qualified to prevent compiler errors, for example: def MyCaller : OpInterface<"MyCaller", [CallOpInterface]> { let cppNamespace = "::MyNamespace"; }
1 parent 9673741 commit 7fd1466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Interfaces/CallInterfaces.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def CallOpInterface : OpInterface<"CallOpInterface"> {
6868
/// `symbolTable` is an optional parameter that will allow for using a
6969
/// cached symbol table for symbol lookups instead of performing an O(N)
7070
/// scan.
71-
Operation *resolveCallable(SymbolTableCollection *symbolTable = nullptr);
71+
::mlir::Operation *resolveCallable(::mlir::SymbolTableCollection *symbolTable = nullptr);
7272
}];
7373
}
7474

0 commit comments

Comments
 (0)