[PATCH] D31005: [Objective-C] Fix "repeated use of weak" warning with -fobjc-weak
Brian T. Kelley via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 15 15:35:22 PDT 2017
bkelley created this revision.
-Warc-repeated-use-of-weak should produce the same warnings with -fobjc-weak as it does with -objc-arc. Also check for ObjCWeak along with ObjCAutoRefCount when recording the use of an evaluated weak variable. Add a -fobjc-weak run to the existing arc-repeated-weak test case and adapt it slightly to work in both modes.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7407 bytes
Desc: not available
More information about the cfe-commits