[PATCH] D107021: [Sema][ObjC] Allow conversions between pointers to ObjC pointers and pointers to structs

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 28 19:19:36 PDT 2021


ahatanak added a comment.

I don't think there is any reason conversions between `ACTC_none` and `ACTC_indirectRetainable` (for example, conversions between `struct S **` and `__strong id *x` or `int *` and `__strong id *x`) should be disallowed. I just made the minimal change needed to enable using ObjC ARC pointers as the libc++ functions' template arguments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107021



More information about the cfe-commits mailing list