This is an archive of the discontinued LLVM Phabricator instance.

[flang] Don't lose homonymous specific when copying generic
ClosedPublic

Authored by klausler on Aug 3 2022, 1:01 PM.

Details

Summary

Defined generic procedure interfaces are allowed to shadow non-generic
procedures of the same name in the same scope (whether or not
that non-generic procedure is a specific procedure of the generic).
When making a copy of a generic interface symbol so that it can
be locally modified or be merged with another generic, don't forget
about the homonymous non-generic procedure that it might shadow.

Diff Detail

Event Timeline

klausler created this revision.Aug 3 2022, 1:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 3 2022, 1:01 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 3 2022, 1:01 PM
vdonaldson accepted this revision.Aug 3 2022, 4:08 PM
This revision is now accepted and ready to land.Aug 3 2022, 4:08 PM