]> granicus.if.org Git - clang/commit
PR22673 again: diagnose use of the used decl, not the found decl. This is also
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 24 Feb 2015 21:44:43 +0000 (21:44 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 24 Feb 2015 21:44:43 +0000 (21:44 +0000)
commit777b9c4ae57fc5275d9c8481e6957104abd539c2
treeb570dd0c688f931bc209e0d3fecbf34be6a93c0e
parent81c841a0983db70bf169d4abb73cf5e52742146f
PR22673 again: diagnose use of the used decl, not the found decl. This is also
wrong (DiagnoseUseOfDecl should take both), but it's more consistent with what
we do in other places.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230384 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
test/SemaCXX/deleted-function.cpp