Home | History | Annotate | Download | only in AST

Lines Matching defs:VBase

424         Out << Offset.VirtualBase->getQualifiedNameAsString() << " vbase, ";
527 /// VCallAndVBaseOffsetBuilder - Class for building vcall and vbase offsets.
535 /// and vbase offsets.
546 /// Components - vcall and vbase offset components
565 /// AddVCallAndVBaseOffsets - Add vcall offsets and vbase offsets for the
573 /// AddVBaseOffsets - Add vbase offsets for the given class.
577 /// getCurrentOffsetOffset - Get the current vcall or vbase offset offset in
590 // Add vcall and vbase offsets.
613 // and vbase offsets added by the derived class all come before the vcall
614 // and vbase offsets required by the base class, so that the latter may be
618 // (Since we're emitting the vcall and vbase offsets in reverse order, we'll
628 "Primary vbase should have a zero offset!");
655 // OffsetIndex is the index of this vcall or vbase offset, relative to the
676 // primary base will have its vcall and vbase offsets emitted already.
743 // Add vbase offsets.
753 // Add the vbase offset offset.
755 "vbase offset offset already exists!");
765 // Check the base class looking for more vbase offsets.
1490 "Primary vbase should have a zero offset!");
1677 // Add vcall and vbase offsets for this vtable.
2014 Out << " vbase offset offset";
2191 Out << " vbase offset offset";
2316 const CXXRecordDecl *VBase) {
2317 ClassPairTy ClassPair(RD, VBase);
2375 // If we don't have the vbase information for this class, insert it.
2381 const CXXRecordDecl *VBase =
2384 if (VirtualBaseClassOffsetOffsets.count(std::make_pair(RD, VBase)))
2408 const CXXRecordDecl *VBase) {
2412 if (I->getType()->getAsCXXRecordDecl() == VBase)
2416 llvm_unreachable("VBase must be a vbase of Derived");
2710 // This one's interesting. If the final overrider is in a vbase B of the
2711 // most derived class and it overrides a method of the B's own vbase A,
2961 Out << "vbase #" << Thunk.Return.VBaseOffsetOffset << ", ";
3051 Out << "vbase #" << Thunk.Return.VBaseOffsetOffset << ", ";