Skip to content

Commit f0ab64b

Browse files
authored
[MLIR] Use ::llvm:LogicalResult instead of LogicalResult in FunctionInterfaces.td (#140965)
Fixed a minor typo, which can cause compile error: error C3646: 'eraseResult': unknown override specifier
1 parent b5e2a23 commit f0ab64b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/include/mlir/Interfaces/FunctionInterfaces.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def FunctionOpInterface : OpInterface<"FunctionOpInterface", [
332332

333333
/// Erase a single result at `resultIndex`. Returns failure if the function
334334
/// cannot be updated to have the new signature.
335-
LogicalResult eraseResult(unsigned resultIndex) {
335+
::llvm::LogicalResult eraseResult(unsigned resultIndex) {
336336
::llvm::BitVector resultsToErase($_op.getNumResults());
337337
resultsToErase.set(resultIndex);
338338
return eraseResults(resultsToErase);

0 commit comments

Comments
 (0)