This is an archive of the discontinued LLVM Phabricator instance.

[objc] diagnose protocol conformance in categories with direct members in their corresponding class interfaces
ClosedPublic

Authored by arphaman on Dec 3 2020, 1:04 PM.

Details

Summary

Categories that add protocol conformances to classes with direct members should prohibit protocol conformances when the methods/properties that the protocol expects are actually declared as 'direct' in the class.

Diff Detail

Event Timeline

arphaman created this revision.Dec 3 2020, 1:04 PM
arphaman requested review of this revision.Dec 3 2020, 1:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 3 2020, 1:04 PM
This revision is now accepted and ready to land.Dec 4 2020, 11:53 AM
This revision was landed with ongoing or failed builds.Dec 4 2020, 3:56 PM
This revision was automatically updated to reflect the committed changes.