Fully qualify `::mlir::IntegerAttr` type in ODS generated code (NFC)
authorAbhimanyu Goyal <aoyal@google.com>
Thu, 11 Nov 2021 18:59:11 +0000 (18:59 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Thu, 11 Nov 2021 18:59:59 +0000 (18:59 +0000)
mlir/include/mlir/IR/OpBase.td

index 32535c2..d046914 100644 (file)
@@ -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<