[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
Tue Mar 31 08:33:02 PDT 2026


================
@@ -571,6 +571,7 @@ class UnparseVisitor {
     common::visit(
         common::visitors{
             [&](const std::list<ExplicitShapeSpec> &y) { Walk(y, ","); },
+            [&](const ExplicitShapeBoundsSpec &y) { /*TODO: unreachable until after semantic analysis is done */ },
----------------
eugeneepshteyn wrote:

Hmm, so how would it look unparsed?

https://github.com/llvm/llvm-project/pull/188447


More information about the flang-commits mailing list