This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix accessibility of USEd name in .mod file
ClosedPublic

Authored by tskeith on Jan 13 2021, 7:40 AM.

Details

Summary

If a module specifies default private accessibility, names that have
been use-associated are private by default. This was not reflected in
.mod files.

Diff Detail

Event Timeline

tskeith created this revision.Jan 13 2021, 7:40 AM
tskeith requested review of this revision.Jan 13 2021, 7:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 13 2021, 7:40 AM
PeteSteinfeld accepted this revision.Jan 13 2021, 8:24 AM

This is an odd quirk of the language.

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jan 13 2021, 8:24 AM
This revision was automatically updated to reflect the committed changes.