This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix check for PRIVATE override of PUBLIC t.b.p.
ClosedPublic

Authored by klausler on Mar 21 2023, 3:08 PM.

Details

Summary

A PRIVATE procedure binding in a derived type extension may not
be an override of a PUBLIC procedure binding. Declaration checking
for this case was working only in the presence of an explicit
PUBLIC accessibility attribute, when it should be checking for the
absence of a PRIVATE accessibility attribute.

Diff Detail

Event Timeline

klausler created this revision.Mar 21 2023, 3:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 21 2023, 3:08 PM
klausler requested review of this revision.Mar 21 2023, 3:08 PM
PeteSteinfeld accepted this revision.Mar 21 2023, 5:03 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Mar 21 2023, 5:03 PM
This revision was automatically updated to reflect the committed changes.