[all-commits] [llvm/llvm-project] 05756e: [flang] Add more support for alternate returns

Tim Keith via All-commits all-commits at lists.llvm.org
Wed Jul 1 17:29:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 05756e6937d58c357b0b7e37ff3e9a8f7dd0d485
      https://github.com/llvm/llvm-project/commit/05756e6937d58c357b0b7e37ff3e9a8f7dd0d485
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2020-07-01 (Wed, 01 Jul 2020)

  Changed paths:
    M flang/include/flang/Evaluate/call.h
    M flang/include/flang/Semantics/tools.h
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/tools.cpp
    M flang/test/Semantics/label01.F90

  Log Message:
  -----------
  [flang] Add more support for alternate returns

Add `hasAlternateReturns` to `evaluate::ProcedureRef`.

Add `HasAlternateReturns` to test subprogram symbols.

Fix `label01.F90` test: It was checking that "error: " didn't appear in
the output. But that was erroneously matching a warning that ends
"would be in error:". So change it to check for ": error: " instead.

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




More information about the All-commits mailing list