summaryrefslogtreecommitdiff
path: root/test/SemaObjCXX/arc-0x.mm
diff options
context:
space:
mode:
authorErik Pilkington <erik.pilkington@gmail.com>2019-03-20 19:26:33 +0000
committerErik Pilkington <erik.pilkington@gmail.com>2019-03-20 19:26:33 +0000
commit3a174f1eb6965618e3c0d58efdc7b1a0ac5e8e29 (patch)
treee581e8431766da488ec1c6024f4afa9427d57a01 /test/SemaObjCXX/arc-0x.mm
parent09aea98d000e0081c512a1ef9e3690f2a6762157 (diff)
downloadclang-3a174f1eb6965618e3c0d58efdc7b1a0ac5e8e29.tar.gz
[Sema] Deduplicate some availability checking logic
Before this commit, we emit unavailable errors for calls to functions during overload resolution, and for references to all other declarations in DiagnoseUseOfDecl. The early checks during overload resolution aren't as good as the DiagnoseAvailabilityOfDecl based checks, as they error on the code from PR40991. This commit fixes this by removing the early checking. llvm.org/PR40991 rdar://48564179 Differential revision: https://reviews.llvm.org/D59394 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjCXX/arc-0x.mm')
0 files changed, 0 insertions, 0 deletions