Move most CXXRecordDecl::DefinitionData bit-fields out into a separate
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 11 Oct 2019 00:29:04 +0000 (00:29 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 11 Oct 2019 00:29:04 +0000 (00:29 +0000)
commit91aeacc06b0e71815f7808fb27daf3664325c282
treee16f115204b1736cb27864fa081f4bdbebac01e3
parent7b9900dff3c09c562a9b0fdd5f6e8b4a7a2a96a8
Move most CXXRecordDecl::DefinitionData bit-fields out into a separate
file.

Reduces duplication and thereby reduces the risk that someone will
forget to update one of these places, as I did when adding
DefaultedDestructorIsConstexpr (though I've been unable to produce
a testcase for which that matters so far).

llvm-svn: 374484
clang/include/clang/AST/CXXRecordDeclDefinitionBits.def [new file with mode: 0644]
clang/include/clang/AST/DeclCXX.h
clang/lib/AST/ASTImporter.cpp
clang/lib/AST/DeclCXX.cpp
clang/lib/Serialization/ASTReaderDecl.cpp
clang/lib/Serialization/ASTWriter.cpp