[all-commits] [llvm/llvm-project] a56796: [flang] Better messages for function vs. array errors

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jan 18 15:42:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a56796157498a2642e5bec84f5247a3460f8222d
      https://github.com/llvm/llvm-project/commit/a56796157498a2642e5bec84f5247a3460f8222d
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    M flang/include/flang/Semantics/tools.h
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/tools.cpp
    M flang/test/Semantics/resolve59.f90
    M flang/test/Semantics/resolve93.f90

  Log Message:
  -----------
  [flang] Better messages for function vs. array errors

When a scalar-valued function with no distinct RESULT
is being called recursively in its own executable part,
emit a better message about the error.  Clean up the
code that resolves function vs. array ambiguities in
expression semantics.

Update to address review comment

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




More information about the All-commits mailing list