[MLIR] Fix AttributeInterface declaration.

Substitues `Type` by `Attribute` in the declaration of AttributeInterface. It
looks like the code was written by copy-pasting the definition of TypeInterface,
but the substitution of Type by Attribute was missing at some places.

Reviewed By: rriddle, ftynse

Differential Revision: https://reviews.llvm.org/D90138
This commit is contained in:
Ulysse Beaugnon 2020-10-26 23:40:40 +01:00 committed by Alex Zinenko
parent 515973222e
commit db4863ffd1
1 changed files with 2 additions and 2 deletions

View File

@ -148,8 +148,8 @@ class AttributeInterface
AttributeTrait::TraitBase> {
public:
using Base = AttributeInterface<ConcreteType, Traits>;
using InterfaceBase = detail::Interface<ConcreteType, Type, Traits, Type,
AttributeTrait::TraitBase>;
using InterfaceBase = detail::Interface<ConcreteType, Attribute, Traits,
Attribute, AttributeTrait::TraitBase>;
using InterfaceBase::InterfaceBase;
private: