summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/CodeCompleteConsumer.cpp
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
commit13ee62f7d7eed3303f13374b25b8e51d38b2951b (patch)
treed5b87efeef55926f08b2beab9ab25754c7c8adcb /clang/lib/Sema/CodeCompleteConsumer.cpp
parent9dde31ecc1578768eeddb508ac17cebcfd71e3d6 (diff)
downloadbcm5719-llvm-13ee62f7d7eed3303f13374b25b8e51d38b2951b.tar.gz
bcm5719-llvm-13ee62f7d7eed3303f13374b25b8e51d38b2951b.zip
[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 llvm-svn: 356599
Diffstat (limited to 'clang/lib/Sema/CodeCompleteConsumer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud