This is an archive of the discontinued LLVM Phabricator instance.

[flang] Check for BIND(C) through use association.
ClosedPublic

Authored by vzakhari on Mar 1 2023, 10:31 AM.

Details

Summary

If the interface specifies BIND(C), then the declarations using
this interface inherit BIND(C), and if they are referenced via use
association they must be classified as BIND(C) subprograms.

Diff Detail

Event Timeline

vzakhari created this revision.Mar 1 2023, 10:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2023, 10:31 AM
vzakhari requested review of this revision.Mar 1 2023, 10:31 AM
klausler accepted this revision.Mar 1 2023, 10:35 AM

LGTM and thanks!

This revision is now accepted and ready to land.Mar 1 2023, 10:35 AM
jeanPerier accepted this revision.Mar 1 2023, 10:44 AM
This revision was automatically updated to reflect the committed changes.