[Mlir-commits] [mlir] 5d17b96 - Fully qualify `::mlir::IntegerAttr` type in ODS generated code (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Thu Nov 11 11:00:59 PST 2021
Author: Abhimanyu Goyal
Date: 2021-11-11T18:59:59Z
New Revision: 5d17b969aac8f8310771339b04d79d24186388b5
URL: https://github.com/llvm/llvm-project/commit/5d17b969aac8f8310771339b04d79d24186388b5
DIFF: https://github.com/llvm/llvm-project/commit/5d17b969aac8f8310771339b04d79d24186388b5.diff
LOG: Fully qualify `::mlir::IntegerAttr` type in ODS generated code (NFC)
Added:
Modified:
mlir/include/mlir/IR/OpBase.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td
index 32535c23076e1..d0469142f8550 100644
--- a/mlir/include/mlir/IR/OpBase.td
+++ b/mlir/include/mlir/IR/OpBase.td
@@ -1753,7 +1753,7 @@ def IntNonNegative : AttrConstraint<
"whose value is non-negative">;
def IntPositive : AttrConstraint<
- CPred<"$_self.cast<IntegerAttr>().getValue().isStrictlyPositive()">,
+ CPred<"$_self.cast<::mlir::IntegerAttr>().getValue().isStrictlyPositive()">,
"whose value is positive">;
class ArrayMinCount<int n> : AttrConstraint<
More information about the Mlir-commits
mailing list