This is an archive of the discontinued LLVM Phabricator instance.

[flang] Allow for submodule override of module procedure
ClosedPublic

Authored by klausler on Aug 28 2023, 4:07 PM.

Details

Summary

When checking that a module procedure definition is unique, allow for
the possibility that a submodule may contain a module procedure
interface that shadows a module procedure of the same name in its
(sub)module parent. In other words, module procedure definitions
need only be unique in the tree of submodules rooted at the (sub)module
containing the relevant module procedure interface.

Diff Detail

Event Timeline

klausler created this revision.Aug 28 2023, 4:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 28 2023, 4:07 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 28 2023, 4:07 PM
vdonaldson accepted this revision.Aug 28 2023, 4:12 PM
This revision is now accepted and ready to land.Aug 28 2023, 4:12 PM
This revision was automatically updated to reflect the committed changes.