diff --git a/mlir/include/mlir/IR/ExtensibleDialect.h b/mlir/include/mlir/IR/ExtensibleDialect.h --- a/mlir/include/mlir/IR/ExtensibleDialect.h +++ b/mlir/include/mlir/IR/ExtensibleDialect.h @@ -51,7 +51,7 @@ /// extensible dialect (a dialect inheriting ExtensibleDialect). This class /// stores the parser, the printer, and the verifier of the attribute. Each /// dynamic attribute definition refers to one instance of this class. -class DynamicAttrDefinition : SelfOwningTypeID { +class DynamicAttrDefinition : public SelfOwningTypeID { public: using VerifierFn = llvm::unique_function, ArrayRef) const>; @@ -196,7 +196,7 @@ /// extensible dialect (a dialect inheriting ExtensibleDialect). This class /// stores the parser, the printer, and the verifier of the type. Each dynamic /// type definition refers to one instance of this class. -class DynamicTypeDefinition : SelfOwningTypeID { +class DynamicTypeDefinition : public SelfOwningTypeID { public: using VerifierFn = llvm::unique_function, ArrayRef) const>;