reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/AST/CXXRecordDeclDefinitionBits.def
   36 FIELD(UserDeclaredConstructor, 1, NO_MERGE)
   39 FIELD(UserDeclaredSpecialMembers, 6, NO_MERGE)
   42 FIELD(Aggregate, 1, NO_MERGE)
   45 FIELD(PlainOldData, 1, NO_MERGE)
   53 FIELD(Empty, 1, NO_MERGE)
   57 FIELD(Polymorphic, 1, NO_MERGE)
   61 FIELD(Abstract, 1, NO_MERGE)
   65 FIELD(IsStandardLayout, 1, NO_MERGE)
   82 FIELD(IsCXX11StandardLayout, 1, NO_MERGE)
   88 FIELD(HasBasesWithFields, 1, NO_MERGE)
   94 FIELD(HasBasesWithNonStaticDataMembers, 1, NO_MERGE)
   97 FIELD(HasPrivateFields, 1, NO_MERGE)
  100 FIELD(HasProtectedFields, 1, NO_MERGE)
  103 FIELD(HasPublicFields, 1, NO_MERGE)
  106 FIELD(HasMutableFields, 1, NO_MERGE)
  110 FIELD(HasVariantMembers, 1, NO_MERGE)
  113 FIELD(HasOnlyCMembers, 1, NO_MERGE)
  117 FIELD(HasInClassInitializer, 1, NO_MERGE)
  124 FIELD(HasUninitializedReferenceMember, 1, NO_MERGE)
  128 FIELD(HasUninitializedFields, 1, NO_MERGE)
  132 FIELD(HasInheritedConstructor, 1, NO_MERGE)
  136 FIELD(HasInheritedAssignment, 1, NO_MERGE)
  141 FIELD(NeedOverloadResolutionForCopyConstructor, 1, NO_MERGE)
  142 FIELD(NeedOverloadResolutionForMoveConstructor, 1, NO_MERGE)
  143 FIELD(NeedOverloadResolutionForMoveAssignment, 1, NO_MERGE)
  144 FIELD(NeedOverloadResolutionForDestructor, 1, NO_MERGE)
  150 FIELD(DefaultedCopyConstructorIsDeleted, 1, NO_MERGE)
  151 FIELD(DefaultedMoveConstructorIsDeleted, 1, NO_MERGE)
  152 FIELD(DefaultedMoveAssignmentIsDeleted, 1, NO_MERGE)
  153 FIELD(DefaultedDestructorIsDeleted, 1, NO_MERGE)
  162 FIELD(HasTrivialSpecialMembers, 6, MERGE_OR)
  167 FIELD(HasTrivialSpecialMembersForCall, 6, MERGE_OR)
  175 FIELD(DeclaredNonTrivialSpecialMembers, 6, MERGE_OR)
  181 FIELD(DeclaredNonTrivialSpecialMembersForCall, 6, MERGE_OR)
  184 FIELD(HasIrrelevantDestructor, 1, NO_MERGE)
  188 FIELD(HasConstexprNonCopyMoveConstructor, 1, MERGE_OR)
  192 FIELD(HasDefaultedDefaultConstructor, 1, MERGE_OR)
  196 FIELD(DefaultedDefaultConstructorIsConstexpr, 1, NO_MERGE)
  202 FIELD(HasConstexprDefaultConstructor, 1, MERGE_OR)
  205 FIELD(DefaultedDestructorIsConstexpr, 1, NO_MERGE)
  209 FIELD(HasNonLiteralTypeFieldsOrBases, 1, NO_MERGE)
  213 FIELD(UserProvidedDefaultConstructor, 1, NO_MERGE)
  217 FIELD(DeclaredSpecialMembers, 6, MERGE_OR)
  221 FIELD(ImplicitCopyConstructorCanHaveConstParamForVBase, 1, NO_MERGE)
  222 FIELD(ImplicitCopyConstructorCanHaveConstParamForNonVBase, 1, NO_MERGE)
  226 FIELD(ImplicitCopyAssignmentHasConstParam, 1, NO_MERGE)
  230 FIELD(HasDeclaredCopyConstructorWithConstParam, 1, MERGE_OR)
  234 FIELD(HasDeclaredCopyAssignmentWithConstParam, 1, MERGE_OR)
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 1727   if (DD.Definition != MergeDD.Definition) {
 1729     Reader.MergedDeclContexts.insert(std::make_pair(MergeDD.Definition,
 1731     Reader.PendingDefinitions.erase(MergeDD.Definition);
 1732     MergeDD.Definition->setCompleteDefinition(false);
 1733     Reader.mergeDefinitionVisibility(DD.Definition, MergeDD.Definition);
 1734     assert(Reader.Lookups.find(MergeDD.Definition) == Reader.Lookups.end() &&
 1743     assert(!DD.IsLambda && !MergeDD.IsLambda && "faked up lambda definition?");
 1749     DD = std::move(MergeDD);
 1762   NO_MERGE(IsLambda)
 1766   if (DD.NumBases != MergeDD.NumBases || DD.NumVBases != MergeDD.NumVBases)
 1766   if (DD.NumBases != MergeDD.NumBases || DD.NumVBases != MergeDD.NumVBases)
 1773   if (MergeDD.ComputedVisibleConversions && !DD.ComputedVisibleConversions) {
 1774     DD.VisibleConversions = std::move(MergeDD.VisibleConversions);
 1786   if (D->getODRHash() != MergeDD.ODRHash) {
 1792         {MergeDD.Definition, &MergeDD});
 1792         {MergeDD.Definition, &MergeDD});