[PATCH] D62831: [CodeGen][ObjC] Add attribute "arc_retain_agnostic" to ObjC globals that are retain-agnostic

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 5 14:41:05 PDT 2019


erik.pilkington added a comment.

I think this looks good from a clang perspective. No reason to land it before the dust settles on D62433 <https://reviews.llvm.org/D62433> though.

Do you think we can also add this attribute (or something like it) onto allocas of `_NSConcreteStackBlock`s? They also have this retain-swallowing behaviour.


Repository:
  rC Clang

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

https://reviews.llvm.org/D62831





More information about the cfe-commits mailing list