diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2019-03-20 19:26:33 +0000 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2019-03-20 19:26:33 +0000 |
commit | 13ee62f7d7eed3303f13374b25b8e51d38b2951b (patch) | |
tree | d5b87efeef55926f08b2beab9ab25754c7c8adcb /clang/lib/Sema/CodeCompleteConsumer.cpp | |
parent | 9dde31ecc1578768eeddb508ac17cebcfd71e3d6 (diff) | |
download | bcm5719-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