]> granicus.if.org Git - clang/commit
Suppress diagnosing access violations while looking up deallocation functions
authorChandler Carruth <chandlerc@gmail.com>
Mon, 28 Jun 2010 00:30:51 +0000 (00:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 28 Jun 2010 00:30:51 +0000 (00:30 +0000)
commit2389324eb73a1c99d5dfc1dc9eed047ddc96a7b4
tree89d436213e390b0b44d23e1c2ee0e1870634a34c
parent7e9cebfe1246bb9051a364474b6570eb40dbac4b
Suppress diagnosing access violations while looking up deallocation functions
much as we already do for allocation function lookup. Explicitly check access
for the function we actually select in one case that was previously missing,
but being caught behind the blanket diagnostics for all overload candidates.
This fixs PR7436.

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