[PATCH] D65256: [Sema][ObjC] Mark C union fields that have non-trivial ObjC ownership qualifications as unavailable if the union is declared in a system header
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 25 09:41:59 PDT 2019
ahatanak marked an inline comment as done.
ahatanak added inline comments.
================
Comment at: test/SemaObjC/Inputs/non-trivial-c-union.h:10
+ _Nonnull id f1;
+ __weak id f2;
+} U0_SystemHeader;
----------------
Rather than making an exception for explicit `__strong` fields, should we have an attribute that can be used to instruct the compiler not to mark the field as unavailable?
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65256/new/
https://reviews.llvm.org/D65256
More information about the cfe-commits
mailing list