]> granicus.if.org Git - clang/commit
Pretend destructors are const and volatile. This allows calling them with const and...
authorSebastian Redl <sebastian.redl@getdesigned.at>
Wed, 18 Nov 2009 20:55:52 +0000 (20:55 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Wed, 18 Nov 2009 20:55:52 +0000 (20:55 +0000)
commit65bdbfa6ca6b9a1170e052cc567d098d0f99cdae
treed19d5f04ddefd75a1b6817aa5986f6aad1ceda70
parenta9efadada0430493a4d68b34b2e76580d0fd8f10
Pretend destructors are const and volatile. This allows calling them with const and/or volatile objects. Fixes PR5548.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89244 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp
test/CXX/special/class.dtor/p2.cpp [new file with mode: 0644]