Lines Matching defs:Base
175 "Derived-to-base conversion",
884 // expression of class type to a base class of that type is
903 // Determine whether this is considered a derived-to-base conversion.
928 // expression of class type to a base class of that type is
1779 // B is a base class (clause 10) of D. If B is an inaccessible
1780 // (clause 11) or ambiguous (10.2) base class of D, a program that
1782 // conversion is a pointer to the base class sub-object of the
2210 /// ambiguous or inaccessible derived-to-base pointer
2237 // We must have a derived-to-base conversion. Check an
2320 /// virtual or inaccessible base-to-derived member pointer conversions
2377 // Must be a base to derived member conversion.
2873 // their derived-to-base conversions.
3102 /// various kinds of derived-to-base conversions (C++
3325 // T1 is a base class of T2.
3470 // type, a derived-to-base Conversion.
3561 // derived-to-base Conversion (13.3.3.1).
3582 // derived-to-base conversions is suppressed when we're
3665 // in the second case (or, in either case, to an appropriate base
4803 // derived to base as such conversions are given Conversion Rank. They only
7167 // Diagnose base -> derived pointer conversions.
8675 // to instantiation time to be able to search into type dependent base
9242 Expr *Base, Expr *Idx) {
9243 Expr *Args[2] = { Base, Idx };
9707 // accessible base class provided the function is not hidden
9927 /// (if one exists), where @c Base is an expression of class type and
9930 Sema::BuildOverloadedArrowExpr(Scope *S, Expr *Base, SourceLocation OpLoc) {
9931 assert(Base->getType()->isRecordType() &&
9934 if (checkPlaceholderForOverload(*this, Base))
9937 SourceLocation Loc = Base->getExprLoc();
9948 const RecordType *BaseRecord = Base->getType()->getAs<RecordType>();
9950 if (RequireCompleteType(Loc, Base->getType(),
9952 << Base->getSourceRange()))
9961 AddMethodCandidate(Oper.getPair(), Base->getType(), Base->Classify(Context),
9977 << Base->getType() << Base->getSourceRange();
9980 << "operator->" << Base->getSourceRange();
9981 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, &Base, 1);
9986 << "->" << Base->getType() << Base->getSourceRange();
9987 CandidateSet.NoteCandidates(*this, OCD_ViableCandidates, &Base, 1);
9995 << Base->getSourceRange();
9996 CandidateSet.NoteCandidates(*this, OCD_AllCandidates, &Base, 1);
10001 CheckMemberOperatorAccess(OpLoc, Base, 0, Best->FoundDecl);
10007 PerformObjectArgumentInitialization(Base, /*Qualifier=*/0,
10011 Base = BaseResult.take();
10024 &Base, 1, ResultTy, VK, OpLoc);
10138 Expr *Base;
10158 Base = new (Context) CXXThisExpr(Loc,
10163 Base = MemExpr->getBase();
10175 MemberExpr *ME = MemberExpr::Create(Context, Base,