This is an archive of the discontinued LLVM Phabricator instance.

[flang] Enable more usage of generics with forward-referenced specifics in specification parts
ClosedPublic

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

Details

Summary

Earlier work allowed a specification expression to reference a generic function
that was defined earlier, so long as the relevant specific procedure of the
generic had been defined before the generic. This patch extends that work
so that the generic can also be used in cases where the relevant specific
procedure has been defined after the generic and before the reference.

Diff Detail

Event Timeline

klausler created this revision.Aug 28 2023, 4:20 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Aug 28 2023, 4:20 PM
PeteSteinfeld accepted this revision.Aug 28 2023, 5:55 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Aug 28 2023, 5:55 PM