[flang-commits] [flang] [flang][semantic] Implement semantic checks and new data structure (PR #203030)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Wed Jul 1 07:45:08 PDT 2026
================
@@ -213,6 +213,13 @@ class ArraySpecAnalyzer {
void MakeDeferred(int);
Bound GetBound(const std::optional<parser::SpecificationExpr> &);
Bound GetBound(const parser::SpecificationExpr &);
+ struct ExplicitShapeBoundsResult {
+ Bound ubound;
+ std::optional<Bound> lbound;
+ std::int64_t numDims;
+ };
+ std::optional<ExplicitShapeBoundsResult> checkExplicitShapeBoundsSpec(
----------------
eugeneepshteyn wrote:
I think `checkExplicitShapeBoundsSpec` should start with capital `C` (non-accessor member function naming).
https://github.com/llvm/llvm-project/pull/203030
More information about the flang-commits
mailing list