[all-commits] [llvm/llvm-project] 01688e: [flang] Accommodate unknowable CHARACTER length in...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Dec 2 10:37:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01688ee9df5ead4dcff3c460d7f038f307f1ee5d
      https://github.com/llvm/llvm-project/commit/01688ee9df5ead4dcff3c460d7f038f307f1ee5d
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

  Changed paths:
    M flang/include/flang/Evaluate/expression.h
    M flang/lib/Evaluate/expression.cpp
    M flang/lib/Evaluate/fold-implementation.h
    M flang/lib/Evaluate/formatting.cpp
    M flang/lib/Semantics/expression.cpp

  Log Message:
  -----------
  [flang] Accommodate unknowable CHARACTER length in evaluate::ArrayConstructor<>

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.

Differential Revision: https://reviews.llvm.org/D139041




More information about the All-commits mailing list