diff --git a/flang/include/flang/Evaluate/constant.h b/flang/include/flang/Evaluate/constant.h --- a/flang/include/flang/Evaluate/constant.h +++ b/flang/include/flang/Evaluate/constant.h @@ -168,6 +168,7 @@ bool empty() const; std::size_t size() const; + const Scalar &values() const { return values_; } ConstantSubscript LEN() const { return length_; } std::optional> GetScalarValue() const {