Lines Matching defs:MostDerivedClass
81 /// MostDerivedClass - The most derived class for which the final overriders
83 const CXXRecordDecl *MostDerivedClass;
135 FinalOverriders(const CXXRecordDecl *MostDerivedClass,
152 dump(llvm::errs(), BaseSubobject(MostDerivedClass, CharUnits::Zero()),
158 FinalOverriders::FinalOverriders(const CXXRecordDecl *MostDerivedClass,
161 : MostDerivedClass(MostDerivedClass),
163 Context(MostDerivedClass->getASTContext()),
164 MostDerivedClassLayout(Context.getASTRecordLayout(MostDerivedClass)) {
170 ComputeBaseOffsets(BaseSubobject(MostDerivedClass, CharUnits::Zero()),
178 MostDerivedClass->getFinalOverriders(FinalOverriders);
541 /// MostDerivedClass - The most derived class for which we're building vcall
543 const CXXRecordDecl *MostDerivedClass;
590 const CXXRecordDecl *MostDerivedClass,
595 : VTables(VTables), MostDerivedClass(MostDerivedClass),
596 LayoutClass(LayoutClass), Context(MostDerivedClass->getASTContext()),
640 Context.getASTRecordLayout(MostDerivedClass);
802 /// MostDerivedClass - The most derived class for which we're building this
804 const CXXRecordDecl *MostDerivedClass;
995 return MostDerivedClass != LayoutClass;
1004 const CXXRecordDecl *MostDerivedClass,
1008 : VTables(VTables), MostDerivedClass(MostDerivedClass),
1011 LayoutClass(LayoutClass), Context(MostDerivedClass->getASTContext()),
1012 Overriders(MostDerivedClass, MostDerivedClassOffset, LayoutClass) {
1215 if (MD->getParent() == MostDerivedClass)
1227 if (Offset.DerivedClass == MostDerivedClass) {
1319 VTables, MostDerivedClass, MostDerivedClass,
1494 Context.getASTRecordLayout(MostDerivedClass);
1570 Overrider.Method->getParent() == MostDerivedClass) {
1665 LayoutPrimaryAndSecondaryVTables(BaseSubobject(MostDerivedClass,
1674 DeterminePrimaryVirtualBases(MostDerivedClass, MostDerivedClassOffset,
1678 LayoutVTablesForVirtualBases(MostDerivedClass, VBases);
1696 VTables, MostDerivedClass, LayoutClass, &Overriders, Base,
1710 if (Base.getBase() == MostDerivedClass)
1719 Components.push_back(VTableComponent::MakeRTTI(MostDerivedClass));
1730 if (RD == MostDerivedClass) {
1912 Context.getASTRecordLayout(MostDerivedClass);
1962 MostDerivedClass->printQualifiedName(Out);
1968 MostDerivedClass->printQualifiedName(Out);
2152 if (MostDerivedClass->getNumVBases()) {
2164 MostDerivedClass->printQualifiedName(Out);
2239 for (const auto *MD : MostDerivedClass->methods()) {
2263 MostDerivedClass->printQualifiedName(Out);
2460 const CXXRecordDecl *MostDerivedClass, CharUnits MostDerivedClassOffset,
2462 ItaniumVTableBuilder Builder(*this, MostDerivedClass, MostDerivedClassOffset,
2526 /// MostDerivedClass - The most derived class for which we're building this
2528 const CXXRecordDecl *MostDerivedClass;
2605 /// method, relative to the beginning of the MostDerivedClass.
2636 Components.push_back(VTableComponent::MakeRTTI(MostDerivedClass));
2639 AddMethods(BaseSubobject(MostDerivedClass, CharUnits::Zero()), 0, nullptr,
2651 // Skip the methods that the MostDerivedClass didn't override
2653 if (MD->getParent() != MostDerivedClass || MI.Shadowed)
2667 const CXXRecordDecl *MostDerivedClass, const VPtrInfo &Which)
2669 Context(MostDerivedClass->getASTContext()),
2670 MostDerivedClass(MostDerivedClass),
2671 MostDerivedClassLayout(Context.getASTRecordLayout(MostDerivedClass)),
2673 Overriders(MostDerivedClass, CharUnits(), MostDerivedClass) {
2767 // for the given method, relative to the beginning of the MostDerivedClass.
2982 if (Overrider.Method->getParent() == MostDerivedClass ||
2993 VTables.getVBTableIndex(MostDerivedClass, Overrider.VirtualBase);
3105 LastVBase ? VTables.getVBTableIndex(MostDerivedClass, LastVBase) : 0;
3247 MostDerivedClass->printQualifiedName(Out);
3308 Diags.Report(MostDerivedClass->getLocation(), DiagID)