Skip to content

Commit beedb3b

Browse files
committed
prop change f625f52 delta from llvm-project
1 parent 14496d6 commit beedb3b

File tree

1 file changed

+11
-4
lines changed
  • flang/include/flang/Optimizer/Dialect

1 file changed

+11
-4
lines changed

flang/include/flang/Optimizer/Dialect/FIRAttr.h

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ class SubclassAttr
7575
/// A case selector of `CASE (n:m)` corresponds to any value from `n` to `m` and
7676
/// is encoded as `#fir.interval, %n, %m`.
7777
class ClosedIntervalAttr
78-
: public mlir::Attribute::AttrBase<ClosedIntervalAttr> {
78+
: public mlir::Attribute::AttrBase<ClosedIntervalAttr, mlir::Attribute,
79+
mlir::AttributeStorage> {
7980
public:
8081
using Base::Base;
8182

@@ -91,7 +92,9 @@ class ClosedIntervalAttr
9192
/// an ssa-value.
9293
/// A case selector of `CASE (:m)` corresponds to any value up to and including
9394
/// `m` and is encoded as `#fir.upper, %m`.
94-
class UpperBoundAttr : public mlir::Attribute::AttrBase<UpperBoundAttr> {
95+
class UpperBoundAttr
96+
: public mlir::Attribute::AttrBase<UpperBoundAttr, mlir::Attribute,
97+
mlir::AttributeStorage> {
9598
public:
9699
using Base::Base;
97100

@@ -107,7 +110,9 @@ class UpperBoundAttr : public mlir::Attribute::AttrBase<UpperBoundAttr> {
107110
/// an ssa-value.
108111
/// A case selector of `CASE (n:)` corresponds to any value down to and
109112
/// including `n` and is encoded as `#fir.lower, %n`.
110-
class LowerBoundAttr : public mlir::Attribute::AttrBase<LowerBoundAttr> {
113+
class LowerBoundAttr
114+
: public mlir::Attribute::AttrBase<LowerBoundAttr, mlir::Attribute,
115+
mlir::AttributeStorage> {
111116
public:
112117
using Base::Base;
113118

@@ -123,7 +128,9 @@ class LowerBoundAttr : public mlir::Attribute::AttrBase<LowerBoundAttr> {
123128
/// interval contains exactly one value.
124129
/// A case selector of `CASE (p)` corresponds to exactly the value `p` and is
125130
/// encoded as `#fir.point, %p`.
126-
class PointIntervalAttr : public mlir::Attribute::AttrBase<PointIntervalAttr> {
131+
class PointIntervalAttr
132+
: public mlir::Attribute::AttrBase<PointIntervalAttr, mlir::Attribute,
133+
mlir::AttributeStorage> {
127134
public:
128135
using Base::Base;
129136

0 commit comments

Comments
 (0)