From 3dccac09a634e12ab840a00243a9fda8fab716a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Markus=20B=C3=B6ck?= Date: Sat, 16 Jul 2022 14:38:53 +0200 Subject: [PATCH] [mlir][NFC] Fully qualify typenames in SymbolInterfaces.td --- mlir/include/mlir/IR/SymbolInterfaces.td | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mlir/include/mlir/IR/SymbolInterfaces.td b/mlir/include/mlir/IR/SymbolInterfaces.td index e332bb6..ea5251f 100644 --- a/mlir/include/mlir/IR/SymbolInterfaces.td +++ b/mlir/include/mlir/IR/SymbolInterfaces.td @@ -40,7 +40,7 @@ def Symbol : OpInterface<"SymbolOpInterface"> { }] >, InterfaceMethod<"Sets the name of this symbol.", - "void", "setName", (ins "StringAttr":$name), [{}], + "void", "setName", (ins "::mlir::StringAttr":$name), [{}], /*defaultImplementation=*/[{ this->getOperation()->setAttr( mlir::SymbolTable::getSymbolAttrName(), name); @@ -99,8 +99,8 @@ def Symbol : OpInterface<"SymbolOpInterface"> { given operation 'from'. Note: See mlir::SymbolTable::getSymbolUses for more details. }], - "Optional<::mlir::SymbolTable::UseRange>", "getSymbolUses", - (ins "Operation *":$from), [{}], + "::llvm::Optional<::mlir::SymbolTable::UseRange>", "getSymbolUses", + (ins "::mlir::Operation *":$from), [{}], /*defaultImplementation=*/[{ return ::mlir::SymbolTable::getSymbolUses(this->getOperation(), from); }] @@ -110,7 +110,7 @@ def Symbol : OpInterface<"SymbolOpInterface"> { within the given operation 'from'. Note: See mlir::SymbolTable::symbolKnownUseEmpty for more details. }], - "bool", "symbolKnownUseEmpty", (ins "Operation *":$from), [{}], + "bool", "symbolKnownUseEmpty", (ins "::mlir::Operation *":$from), [{}], /*defaultImplementation=*/[{ return ::mlir::SymbolTable::symbolKnownUseEmpty(this->getOperation(), from); @@ -121,8 +121,8 @@ def Symbol : OpInterface<"SymbolOpInterface"> { symbol 'newSymbol' that are nested within the given operation 'from'. Note: See mlir::SymbolTable::replaceAllSymbolUses for more details. }], - "LogicalResult", "replaceAllSymbolUses", (ins "StringAttr":$newSymbol, - "Operation *":$from), [{}], + "::mlir::LogicalResult", "replaceAllSymbolUses", + (ins "::mlir::StringAttr":$newSymbol, "::mlir::Operation *":$from), [{}], /*defaultImplementation=*/[{ return ::mlir::SymbolTable::replaceAllSymbolUses(this->getOperation(), newSymbol, from); -- 2.7.4