This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add more support for alternate returns
ClosedPublic

Authored by tskeith on Jul 1 2020, 3:49 PM.

Details

Summary

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.

Diff Detail

Event Timeline

tskeith created this revision.Jul 1 2020, 3:49 PM
Herald added a project: Restricted Project. · View Herald Transcript
schweitz accepted this revision.Jul 1 2020, 4:10 PM
This revision is now accepted and ready to land.Jul 1 2020, 4:10 PM
sscalpone accepted this revision.Jul 1 2020, 4:18 PM
This revision was automatically updated to reflect the committed changes.