/external/clang/include/clang/AST/ |
H A D | ExprCXX.h | 615 Expr *BaseExpr; member in class:clang::MSPropertyRefExpr 630 BaseExpr(baseExpr), TheDecl(decl), 644 return BaseExpr->getLocStart(); 653 return child_range((Stmt**)&BaseExpr, (Stmt**)&BaseExpr + 1); 659 Expr *getBaseExpr() const { return BaseExpr; }
|
/external/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 238 const Expr *BaseExpr = BO->getLHS(); local 256 This = EmitScalarExpr(BaseExpr); 258 This = EmitLValue(BaseExpr).getAddress();
|
H A D | CGExpr.cpp | 2480 Expr *BaseExpr = E->getBase(); local 2485 llvm::Value *Ptr = EmitScalarExpr(BaseExpr); 2486 QualType PtrTy = BaseExpr->getType()->getPointeeType(); 2490 BaseLV = EmitCheckedLValue(BaseExpr, TCK_MemberAccess); 2984 Expr *BaseExpr = PseudoDtor->getBase(); local 2990 BaseValue = EmitScalarExpr(BaseExpr); 2991 const PointerType *PTy = BaseExpr->getType()->getAs<PointerType>(); 2994 LValue BaseLV = EmitLValue(BaseExpr); 2996 QualType BaseTy = BaseExpr->getType(); 3172 const Expr *BaseExpr local [all...] |
H A D | CGExprScalar.cpp | 3329 Expr *BaseExpr = E->getBase(); local 3330 if (BaseExpr->isRValue()) { 3332 llvm::Value *Src = EmitScalarExpr(BaseExpr); 3338 V = ScalarExprEmitter(*this).EmitLoadOfLValue(BaseExpr); 3340 V = EmitLValue(BaseExpr).getAddress();
|
/external/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 442 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, argument 462 assert(BaseExpr && "cannot happen with implicit member accesses"); 464 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange(); 473 // Get the type being accessed in BaseType. If this is an arrow, the BaseExpr 476 Context, BaseExpr, BaseType, IsArrow, OpLoc, 485 Expr *BaseExpr, 492 if (!BaseExpr) 511 bool Sema::CheckQualifiedMemberReference(Expr *BaseExpr, argument 527 if (!BaseExpr && !(*I)->isCXXInstanceMember()) 544 DiagnoseQualifiedMemberReference(*this, BaseExpr, BaseTyp 484 DiagnoseQualifiedMemberReference(Sema &SemaRef, Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, NamedDecl *rep, const DeclarationNameInfo &nameInfo) argument 853 BuildMSPropertyRefExpr(Sema &S, Expr *BaseExpr, bool IsArrow, const CXXScopeSpec &SS, MSPropertyDecl *PD, const DeclarationNameInfo &NameInfo) argument 883 BuildMemberReferenceExpr(Expr *BaseExpr, QualType BaseExprType, SourceLocation OpLoc, bool IsArrow, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs, bool SuppressQualifierCheck, ActOnMemberAccessExtraArgs *ExtraArgs) argument 1179 LookupMemberExpr(Sema &S, LookupResult &R, ExprResult &BaseExpr, bool &IsArrow, SourceLocation OpLoc, CXXScopeSpec &SS, Decl *ObjCImpDecl, bool HasTemplateArgs) argument 1661 BuildFieldReferenceExpr(Sema &S, Expr *BaseExpr, bool IsArrow, const CXXScopeSpec &SS, FieldDecl *Field, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo) argument [all...] |
H A D | SemaExprObjC.cpp | 602 ExprResult Sema::BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr, argument 610 assert((!BaseExpr->isTypeDependent() && !IndexExpr->isTypeDependent()) && 621 Result = DefaultLvalueConversion(BaseExpr); 624 BaseExpr = Result.get(); 627 return ObjCSubscriptRefExpr::Create(Context, BaseExpr, IndexExpr, 1559 Expr *BaseExpr, SourceLocation OpLoc, 1576 : BaseExpr->getSourceRange(); 1594 OK_ObjCProperty, MemberLoc, BaseExpr); 1610 OK_ObjCProperty, MemberLoc, BaseExpr); 1662 OK_ObjCProperty, MemberLoc, BaseExpr); 1558 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, DeclarationName MemberName, SourceLocation MemberLoc, SourceLocation SuperLoc, QualType SuperType, bool Super) argument [all...] |
H A D | SemaChecking.cpp | 7029 static const Type* getElementType(const Expr *BaseExpr) { argument 7030 const Type* EltType = BaseExpr->getType().getTypePtr(); 7085 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr, argument 7092 const Type *EffectiveType = getElementType(BaseExpr); 7093 BaseExpr = BaseExpr->IgnoreParenCasts(); 7095 Context.getAsConstantArrayType(BaseExpr->getType()); 7106 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) 7108 if (const MemberExpr *ME = dyn_cast<MemberExpr>(BaseExpr)) 7116 const Type* BaseType = getElementType(BaseExpr); [all...] |
H A D | SemaExpr.cpp | 3835 Expr *BaseExpr, *IndexExpr; local 3838 BaseExpr = LHSExp; 3842 BaseExpr = LHSExp; 3847 BaseExpr = LHSExp; 3853 return BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, nullptr, 3859 BaseExpr = RHSExp; 3865 BaseExpr = RHSExp; 3870 << ResultType << BaseExpr->getSourceRange(); 3874 BaseExpr = LHSExp; // vectors: V[123] 3894 BaseExpr [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngine.cpp | 1835 Expr *BaseExpr = M->getBase(); local 1840 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr); 1850 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr); 1851 SVal baseExprVal = state->getSVal(BaseExpr, LCtx);
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteObjC.cpp | 5860 Expr *BaseExpr = IV->getBase(); local 5865 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr)); 5866 IV->setBase(BaseExpr); 5873 if (BaseExpr->getType()->isObjCObjectPointerType()) { 5875 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType()); 5915 if (BaseExpr->getType()->isObjCObjectPointerType()) { 5917 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
|
H A D | RewriteModernObjC.cpp | 7629 Expr *BaseExpr = IV->getBase(); local 7634 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr)); 7635 IV->setBase(BaseExpr); 7642 if (BaseExpr->getType()->isObjCObjectPointerType()) { 7644 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType()); 7665 BaseExpr);
|