Provide a definition for OperationPosition::kDown
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 26 Nov 2021 13:07:48 +0000 (14:07 +0100)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 26 Nov 2021 13:11:59 +0000 (14:11 +0100)
This isn't necessary in C++17, but C++14 still requires it.

mlir/lib/Conversion/PDLToPDLInterp/Predicate.cpp

index 8983ecb..8d560eb 100644 (file)
@@ -44,3 +44,8 @@ OperandPosition::OperandPosition(const KeyTy &key) : Base(key) {
 OperandGroupPosition::OperandGroupPosition(const KeyTy &key) : Base(key) {
   parent = std::get<0>(key);
 }
+
+//===----------------------------------------------------------------------===//
+// OperationPosition
+
+constexpr unsigned OperationPosition::kDown;