[PATCH] D83007: [flang] Add more support for alternate returns

Tim Keith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 1 16:13:57 PDT 2020


tskeith created this revision.
tskeith added reviewers: klausler, PeteSteinfeld, schweitz, sscalpone.
tskeith added a project: Flang.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: DavidTruby.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
schweitz accepted this revision.
This revision is now accepted and ready to land.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83007

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83007.274944.patch
Type: text/x-patch
Size: 5261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200701/6402eb05/attachment.bin>


More information about the llvm-commits mailing list