This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix module file missing USE for shadowed derived type
ClosedPublic

Authored by klausler on Mar 7 2022, 1:53 PM.

Details

Summary

When a module uses a derived type that is shadowed by a generic
interface, the module file was missing a USE statement for the
name. Detect and handle this situation.

Diff Detail

Event Timeline

klausler created this revision.Mar 7 2022, 1:53 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Mar 7 2022, 1:53 PM
PeteSteinfeld accepted this revision.Mar 7 2022, 4:41 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Mar 7 2022, 4:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 7 2022, 5:13 PM