[PATCH] D75574: RFC: Implement objc_direct_protocol attribute to remove protocol metadata
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 6 10:53:39 PDT 2020
rjmccall added a reviewer: theraven.
rjmccall added a comment.
One thing that's come up so far: you generally need to be looking through non-runtime protocols, not ignoring them. This matters when non-runtime protocols inherit from ordinary protocols. It may be useful to provide a generic function that walks an array of protocols and calls a callback with the unique ordinary protocols it implies.
You should also implement this for non-Apple runtimes, which should be straightforward with that generic function; it's just a matter of testing it. CC'ing David Chisnall.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75574/new/
https://reviews.llvm.org/D75574
More information about the cfe-commits
mailing list