From db4863ffd1ff0beaf8b13a50beb81d22c8f1137d Mon Sep 17 00:00:00 2001 From: Ulysse Beaugnon Date: Mon, 26 Oct 2020 23:40:40 +0100 Subject: [PATCH] [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 --- mlir/include/mlir/IR/Attributes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mlir/include/mlir/IR/Attributes.h b/mlir/include/mlir/IR/Attributes.h index 6e7dd24..263b35e 100644 --- a/mlir/include/mlir/IR/Attributes.h +++ b/mlir/include/mlir/IR/Attributes.h @@ -148,8 +148,8 @@ class AttributeInterface AttributeTrait::TraitBase> { public: using Base = AttributeInterface; - using InterfaceBase = detail::Interface; + using InterfaceBase = detail::Interface; using InterfaceBase::InterfaceBase; private: -- 2.7.4