summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Böck <markus.boeck02@gmail.com>2024-02-02 13:13:01 +0100
committerMarkus Böck <markus.boeck02@gmail.com>2024-02-02 13:13:01 +0100
commitf9f2f00dc37d979b459c7d9d1dc6f52ec3466206 (patch)
tree5946f87dd1b3a53b995bc7c4ef1fb064bd2e1a63
parent94c47995dff5a3a57b7066676dfe40b1caf713dc (diff)
-rw-r--r--mlir/include/mlir/IR/OpImplementation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mlir/include/mlir/IR/OpImplementation.h b/mlir/include/mlir/IR/OpImplementation.h
index 402399cf2966..50e6cc59ca45 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;