This is an archive of the discontinued LLVM Phabricator instance.

[flang] Respect function vs subroutine distinction in generic matching
ClosedPublic

Authored by klausler on Nov 30 2022, 4:27 PM.

Details

Summary

When checking the specific procedures of a generic interface for a
match against a given set of actual arguments, be sure to not match
a function against a subroutine call or vice versa. (We generally
catch and warn about attempts to declare mixed interfaces, but they
are usually conforming and can be inadvertently created when generics
are merged due to USE and host association.)

Diff Detail

Event Timeline

klausler created this revision.Nov 30 2022, 4:27 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Nov 30 2022, 4:27 PM
jeanPerier accepted this revision.Dec 1 2022, 12:25 AM

Looks good

This revision is now accepted and ready to land.Dec 1 2022, 12:25 AM