[all-commits] [llvm/llvm-project] 412056: [flang] Implicitly convert result of statement fun...

Tim Keith via All-commits all-commits at lists.llvm.org
Thu Jul 23 17:16:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 412056e2d02fae43c6e7c8511c650e8458d55701
      https://github.com/llvm/llvm-project/commit/412056e2d02fae43c6e7c8511c650e8458d55701
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/symbol.cpp

  Log Message:
  -----------
  [flang] Implicitly convert result of statement function

The result of a statement function may require an implicit conversion
to match its result type. Add that to the expression that represents
the statement function body in SubprogramDetails.

Extract the analysis of that expression into a separate function.

Dump the statement function expression as part of the dump of
SubprogramDetails.

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




More information about the All-commits mailing list