This is an archive of the discontinued LLVM Phabricator instance.

[modules] Update visibility for merged ObjCProtocolDecl definitions.
ClosedPublic

Authored by vsapsai on Oct 14 2021, 7:10 PM.

Details

Summary

Merge definition visibility the same way we do for other decls. Without
the fix the added test emits -Wobjc-method-access as it cannot find a
visible protocol. Make this warning -Werror so the test would fail
when protocol visibility regresses.

rdar://83600696

Diff Detail

Event Timeline

vsapsai created this revision.Oct 14 2021, 7:10 PM
vsapsai requested review of this revision.Oct 14 2021, 7:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 14 2021, 7:10 PM
vsapsai updated this revision to Diff 383201.Oct 28 2021, 4:47 PM

Rebase and trigger pre-merge checks again.

vsapsai edited the summary of this revision. (Show Details)Nov 4 2021, 10:04 AM
This revision is now accepted and ready to land.Nov 5 2021, 11:34 AM
This revision was landed with ongoing or failed builds.Nov 8 2021, 1:54 PM
This revision was automatically updated to reflect the committed changes.

Thanks for the review!