[PATCH] D67983: [ObjC] Diagnose implicit type coercion from ObjC 'Class' to object pointer types.

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 09:32:46 PDT 2019


rjmccall added a comment.

We could probably do a quick check to see if the class informally conforms to the protocol.  `+copyWithZone` seems to be marked unavailable in ARC; not sure if that would cause problems for such a check.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67983/new/

https://reviews.llvm.org/D67983





More information about the cfe-commits mailing list