Home | History | Annotate | Download | only in AST

Lines Matching defs:First

181     const CXXMethodDecl *MD = Overrider.first;
185 unsigned SubobjectNumber = M.first;
227 // First, look for the virtual base class.
513 if (MethodsCanShareVCallOffset(OffsetPair.first, MD))
525 if (MethodsCanShareVCallOffset(OffsetPair.first, MD))
624 // emit them for the primary base first).
679 // Handle the primary base first.
926 /// thunk. Since we require that a call to C::f() first convert to A*,
1083 /// in a depth-first pre-order. The Visitor's visitor method returns a bool
1116 const CXXMethodDecl *MD = MI.first;
1164 const VTableComponent &Component = Components[TI.first];
1358 // If the base and the first base in the primary base chain have the same
1367 // If the overrider is the first base in the primary base chain, we know
1377 // Now traverse the base chain, starting with the first base, until we find
1680 const CXXMethodDecl *MD = I.first;
1903 const BaseSubobject &Base = AP.first;
2081 std::string ClassName = I.first->getQualifiedNameAsString();
2093 Out << " " << I.first << " | " << I.second.getQuantity() << '\n';
2103 const CXXMethodDecl *MD = I.first;
2112 const std::string &MethodName = I.first;
2194 uint64_t VTableIndex = I.first;
2226 assert((LHS.first != RHS.first || LHS.second == RHS.second) &&
2228 return LHS.first < RHS.first;
2272 ClassPairTy ClassPair(RD, I.first);
2327 ClassPairTy ClassPair(RD, I.first);
2355 // first vfptr whose table provides a compatible overridden method. In many
2363 // The first vfptr is the one with the lowest offset in the complete-object
2523 const CXXMethodDecl *MD = I.first;
2684 bool First = true;
2732 if (Ret > ThisOffset || First) {
2733 First = false;
2738 assert(!First && "Method not found in the given subobject?");
2884 // vftable in the order of their first declarations in this class
3203 const CXXMethodDecl *MD = I.first;
3211 const std::string &MethodName = MethodNameAndDecl.first;
3256 /// algorithm. First, walk the class hierarchy in the usual order, depth first,
3312 // base, or the first non-virtual base that has a vbtable.
3454 // The first entry in the path is always the most derived record, skip it.
3481 // Handle some easy cases first.
3544 // no such path, pick the first path.
3599 GlobalDecl GD = Loc.first;
3622 const CXXMethodDecl *MD = cast<const CXXMethodDecl>(I.first.getDecl());
3649 CharUnits VFPtrOffset = I.first.VFPtrOffset;
3650 uint64_t VBIndex = I.first.VBTableIndex;
3662 uint64_t VTableIndex = I.first.Index;
3687 // First, see if the Derived class shared the vbptr with a non-virtual base.
3691 // virtual bases come first so that the layout is the same.