This is an archive of the discontinued LLVM Phabricator instance.

[flang] Accept ENTRY names in generic interfaces
ClosedPublic

Authored by klausler on Jan 14 2022, 11:06 AM.

Details

Summary

ENTRY statement names in module subprograms were not acceptable for
use as a "module procedure" in a generic interface, but should be.
ENTRY statements need to have symbols with place-holding
SubprogramNameDetails created for them in order to be visible in
generic interfaces. Those symbols are created from the "program
tree" data structure. This patch adds ENTRY statement names to the
program tree data structure and uses them to generate SubprogramNameDetails
symbols.

Diff Detail

Event Timeline

klausler created this revision.Jan 14 2022, 11:06 AM
klausler requested review of this revision.Jan 14 2022, 11:06 AM
PeteSteinfeld accepted this revision.Jan 14 2022, 2:46 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jan 14 2022, 2:46 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 14 2022, 3:43 PM