[flang-commits] [flang] [flang] Add parser support for allocate-shape-bounds-spec (PR #188445)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Tue Mar 31 08:36:23 PDT 2026
================
@@ -849,7 +849,7 @@ class UnparseVisitor {
}
void Unparse(const Allocation &x) { // R932
Walk(std::get<AllocateObject>(x.t));
- Walk("(", std::get<std::list<AllocateShapeSpec>>(x.t), ",", ")");
+ Walk("(", std::get<std::list<AllocateShapeSpec>>(std::get<AllocateShapeSpecListOrBounds>(x.t).u), ",", ")");
----------------
eugeneepshteyn wrote:
Could you please add an unparse tests to all the new parsing features you are implementing?
https://github.com/llvm/llvm-project/pull/188445
More information about the flang-commits
mailing list