]> granicus.if.org Git - clang/commit
Initial refactoring of 'ShouldDeleteSpecialMember', in preparation for providing
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 18 Feb 2012 02:02:13 +0000 (02:02 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 18 Feb 2012 02:02:13 +0000 (02:02 +0000)
commit7d5088aa52d6e32b309ad0af32ea520ddbc5f953
treed94a8ab89a214972208214c4d11ac57acf0050bf
parent7acebfb71f16a8bb15add402ab915d23c64d912f
Initial refactoring of 'ShouldDeleteSpecialMember', in preparation for providing
decent diagnostics. Finish the work of combining all the 'ShouldDelete'
functions into one. In unifying the code, fix a minor bug where an anonymous
union with a deleted default constructor as a member of a union wasn't being
considered as making the outer union's default constructor deleted.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150862 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaLookup.cpp
test/SemaCXX/cxx0x-deleted-default-ctor.cpp