]> granicus.if.org Git - clang/commit
Teach CXXRecordDecl::hasIrrelevantDestructor to check the base classes and
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 25 Feb 2012 07:33:38 +0000 (07:33 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 25 Feb 2012 07:33:38 +0000 (07:33 +0000)
commitdfefb840e36f069286ef6cf178ef339c90f4603d
tree5f46ebc9ab35039db1204c9e55202f9594c69b68
parentf5cd5cc9a7ec114ef1a4c08491a37d2327697c4a
Teach CXXRecordDecl::hasIrrelevantDestructor to check the base classes and
data members for deleted or user-provided destructors.

Now it's computed in advance, serialize it, and in passing fix all the other
record DefinitionData flags whose serialization was missing.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151441 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclCXX.h
lib/AST/ASTImporter.cpp
lib/AST/DeclCXX.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
test/PCH/cxx0x-default-delete.cpp
test/PCH/cxx11-constexpr.cpp [new file with mode: 0644]
test/SemaCXX/defaulted-private-dtor.cpp