Skip to content

Commit 64dd585

Browse files
committed
use concat operator instead of lisconcat
1 parent 9c7ee71 commit 64dd585

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/include/mlir/Interfaces/CallInterfaces.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def CallOpInterface : OpInterface<"CallOpInterface"> {
7373
}];
7474
let cppNamespace = "::mlir";
7575

76-
let methods = !listconcat(ArgumentAttributesMethods.methods, [
76+
let methods = [
7777
InterfaceMethod<[{
7878
Returns the callee of this call-like operation. A `callee` is either a
7979
reference to a symbol, via SymbolRefAttr, or a reference to a defined
@@ -123,7 +123,7 @@ def CallOpInterface : OpInterface<"CallOpInterface"> {
123123
return ::mlir::call_interface_impl::resolveCallable($_op);
124124
}]
125125
>
126-
]);
126+
] # ArgumentAttributesMethods.methods;
127127
}
128128

129129
/// Interface for callable operations.
@@ -138,7 +138,7 @@ def CallableOpInterface : OpInterface<"CallableOpInterface"> {
138138
}];
139139
let cppNamespace = "::mlir";
140140

141-
let methods = !listconcat(ArgumentAttributesMethods.methods, [
141+
let methods = [
142142
InterfaceMethod<[{
143143
Returns the region on the current operation that is callable. This may
144144
return null in the case of an external callable object, e.g. an external
@@ -155,7 +155,7 @@ def CallableOpInterface : OpInterface<"CallableOpInterface"> {
155155
allow for this method may be called on function declarations).
156156
}],
157157
"::llvm::ArrayRef<::mlir::Type>", "getResultTypes">,
158-
]);
158+
] # ArgumentAttributesMethods.methods;
159159
}
160160

161161
#endif // MLIR_INTERFACES_CALLINTERFACES

0 commit comments

Comments
 (0)