diff options
-rw-r--r-- | mlir/include/mlir/IR/OpImplementation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mlir/include/mlir/IR/OpImplementation.h b/mlir/include/mlir/IR/OpImplementation.h index 402399c..50e6cc5 100644 --- a/mlir/include/mlir/IR/OpImplementation.h +++ b/mlir/include/mlir/IR/OpImplementation.h @@ -176,7 +176,8 @@ public: /// SFINAE for printing the provided attribute in the context of an operation /// custom printer in the case where the attribute does not define a print /// method. - template <typename AttrOrType, + template < + typename AttrOrType, std::enable_if_t<!shouldPrintStripped<AttrOrType>> *sfinae = nullptr> void printStrippedAttrOrType(AttrOrType attrOrType) { *this << attrOrType; |