[flang-commits] [PATCH] D139041: [flang] Accommodate unknowable CHARACTER length in evaluate::ArrayConstructor<>

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Wed Nov 30 14:31:38 PST 2022


klausler created this revision.
klausler added a reviewer: jeanPerier.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
klausler requested review of this revision.

The internal representation for array constructors in expressions during semantic
analysis needs to be able to accommodate circumstances (e.g. TRIM(), substrings)
in which the length of the elements in the array is either unknown or cannot be
represented as a context-free integer expression.


https://reviews.llvm.org/D139041

Files:
  flang/include/flang/Evaluate/expression.h
  flang/lib/Evaluate/expression.cpp
  flang/lib/Evaluate/fold-implementation.h
  flang/lib/Evaluate/formatting.cpp
  flang/lib/Semantics/expression.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139041.479069.patch
Type: text/x-patch
Size: 5819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20221130/d8d81986/attachment.bin>


More information about the flang-commits mailing list