forked from OSchip/llvm-project
[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:
parent
515973222e
commit
db4863ffd1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue