Lines Matching refs:Base

545   const Expr *Base = OIRE->getBase();
546 QualType BaseType = Base->getType();
2075 // TODO: fixit for inserting 'Base<T>::' in the other cases.
2861 // class Base { public: int x; };
2862 // class Derived1 : public Base { };
2863 // class Derived2 : public Base { };
2868 // Derived1::x = 17; // okay, pick the Base subobject of Derived1
4168 #define TYPE(Class, Base)
4169 #define ABSTRACT_TYPE(Class, Base)
4170 #define NON_CANONICAL_TYPE(Class, Base)
4171 #define DEPENDENT_TYPE(Class, Base) case Type::Class:
4172 #define NON_CANONICAL_UNLESS_DEPENDENT_TYPE(Class, Base)
4442 static bool isMSPropertySubscriptExpr(Sema &S, Expr *Base) {
4443 auto *BaseNoParens = Base->IgnoreParens();
4567 const Expr *Base = E->getBase();
4568 QualType BaseTy = Base->getType();
4574 while ((Member = dyn_cast<MemberExpr>(Base->IgnoreParenCasts())) &&
4576 Base = Member->getBase();
4578 if (const auto *Ptr = dyn_cast<PointerType>(Base->getType())) {
4584 ExprResult Sema::ActOnOMPArraySectionExpr(Expr *Base, SourceLocation LBLoc,
4588 if (Base->getType()->isPlaceholderType() &&
4589 !Base->getType()->isSpecificPlaceholderType(
4591 ExprResult Result = CheckPlaceholderExpr(Base);
4594 Base = Result.get();
4616 if (Base->isTypeDependent() ||
4621 OMPArraySectionExpr(Base, LowerBound, Length, Context.DependentTy,
4626 QualType OriginalTy = OMPArraySectionExpr::getBaseOriginalType(Base);
4634 Diag(Base->getExprLoc(), diag::err_omp_typecheck_section_value)
4635 << Base->getSourceRange());
4672 Diag(Base->getExprLoc(), diag::err_omp_section_function_type)
4673 << ResultTy << Base->getSourceRange();
4677 if (RequireCompleteType(Base->getExprLoc(), ResultTy,
4678 diag::err_omp_section_incomplete_type, Base))
4719 if (!Base->getType()->isSpecificPlaceholderType(
4721 ExprResult Result = DefaultFunctionArrayLvalueConversion(Base);
4724 Base = Result.get();
4727 OMPArraySectionExpr(Base, LowerBound, Length, Context.OMPArraySectionTy,
4732 Sema::CreateBuiltinArraySubscriptExpr(Expr *Base, SourceLocation LLoc,
4734 Expr *LHSExp = Base;
4765 // to the expression *((e1)+(e2)). This means the array "Base" may actually be
11563 ObjCMessageExpr *Base = dyn_cast<ObjCMessageExpr>(
11565 if (!Base) return false;
11566 return Base->getMethodDecl() != nullptr;
12349 Expr* Base = cast<ArraySubscriptExpr>(E)->getBase();
12350 if (ImplicitCastExpr* ICE = dyn_cast<ImplicitCastExpr>(Base)) {
14130 Comps.push_back(OffsetOfNode(B.Base));
16555 ExprResult Base = Rebuild(OldBase);
16556 if (!Base.isUsable())
16557 return Base;
16558 Expr *LHS = ASE->getBase() == ASE->getLHS() ? Base.get() : ASE->getLHS();
16559 Expr *RHS = ASE->getBase() == ASE->getRHS() ? Base.get() : ASE->getRHS();
16570 ExprResult Base = Rebuild(ME->getBase());
16571 if (!Base.isUsable())
16572 return Base;
16574 S.Context, Base.get(), ME->isArrow(), ME->getOperatorLoc(),
17034 void Sema::MarkDeclRefReferenced(DeclRefExpr *E, const Expr *Base) {
17041 !Method->getDevirtualizedMethod(Base, getLangOpts().AppleKext))