]> granicus.if.org Git - clang/commit
[Objective-c] Do not set IsExact to true when the receiver is a class.
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 22 Mar 2016 05:00:21 +0000 (05:00 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 22 Mar 2016 05:00:21 +0000 (05:00 +0000)
commit5dfb2d36c3180d3d3953022e3bbaf01db0012f3c
tree71919afdc37d4e59221d0d0066cc6c9cca015a78
parent62da3c4bd49354646f31a18e74c0f26a088c5711
[Objective-c] Do not set IsExact to true when the receiver is a class.

IsExact shouldn't be set to true in WeakObjectProfileTy::getBaseInfo
when the receiver is a class because having a class as the receiver
doesn't guarantee that the Base is exact.

This is a follow-up to r263818.

rdar://problem/25208167

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264025 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/ScopeInfo.h
lib/Sema/ScopeInfo.cpp
test/SemaObjC/arc-repeated-weak.mm