aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ModuleSymbolTable.cpp
diff options
context:
space:
mode:
authorBrian Kelley <bkelley@microsoft.com>2017-03-29 17:55:11 +0000
committerBrian Kelley <bkelley@microsoft.com>2017-03-29 17:55:11 +0000
commitcafd9121cb5c0d6c6ca8b69de5cdc5420f357911 (patch)
treeaab691e1e6590202843ce34493af4ed74fc08311 /llvm/lib/Object/ModuleSymbolTable.cpp
parent93c640b98635c3c6d85cbec19ecaf62e7ddf49ad (diff)
downloadllvm-cafd9121cb5c0d6c6ca8b69de5cdc5420f357911.zip
llvm-cafd9121cb5c0d6c6ca8b69de5cdc5420f357911.tar.gz
llvm-cafd9121cb5c0d6c6ca8b69de5cdc5420f357911.tar.bz2
[Objective-C] Fix "repeated use of weak" warning with -fobjc-weak
Summary: -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. Reviewers: rsmith, doug.gregor, jordan_rose, rjmccall Reviewed By: rjmccall Subscribers: arphaman, rjmccall, cfe-commits Differential Revision: https://reviews.llvm.org/D31005 llvm-svn: 299011
Diffstat (limited to 'llvm/lib/Object/ModuleSymbolTable.cpp')
0 files changed, 0 insertions, 0 deletions