[flang-commits] [flang] [flang] Add parser support for explicit-shape-bounds-spec (PR #188447)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Wed Apr 15 15:55:05 PDT 2026
================
@@ -1324,13 +1324,23 @@ WRAPPER_CLASS(ImpliedShapeSpec, std::list<AssumedImpliedSpec>);
EMPTY_CLASS(AssumedRankSpec);
// R815 array-spec ->
-// explicit-shape-spec-list | assumed-shape-spec-list |
-// deferred-shape-spec-list | assumed-size-spec | implied-shape-spec |
+// explicit-shape-spec-list | explicit-shape-bounds-spec |
+// assumed-shape-spec-list | deferred-shape-spec-list |
+// assumed-size-spec | implied-shape-spec |
// implied-shape-or-assumed-size-spec | assumed-rank-spec
+
+using ExplicitBoundsExpr = IntExpr;
----------------
eugeneepshteyn wrote:
This is only used within `ExplicitShapeBoundsSpec` for now, but in the other PRs it'll be also used elsewhere, right?
https://github.com/llvm/llvm-project/pull/188447
More information about the flang-commits
mailing list