/external/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 437 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, argument 457 assert(BaseExpr && "cannot happen with implicit member accesses"); 459 << BaseType << BaseExpr->getSourceRange(); 468 // Get the type being accessed in BaseType. If this is an arrow, the BaseExpr 470 return Owned(CXXDependentScopeMemberExpr::Create(Context, BaseExpr, BaseType, 482 Expr *BaseExpr, 489 if (!BaseExpr) 508 bool Sema::CheckQualifiedMemberReference(Expr *BaseExpr, argument 524 if (!BaseExpr && !(*I)->isCXXInstanceMember()) 542 DiagnoseQualifiedMemberReference(*this, BaseExpr, BaseTyp 481 DiagnoseQualifiedMemberReference(Sema &SemaRef, Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, NamedDecl *rep, const DeclarationNameInfo &nameInfo) argument 829 BuildMemberReferenceExpr(Expr *BaseExpr, QualType BaseExprType, SourceLocation OpLoc, bool IsArrow, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs, bool SuppressQualifierCheck) argument 1052 LookupMemberExpr(LookupResult &R, ExprResult &BaseExpr, bool &IsArrow, SourceLocation OpLoc, CXXScopeSpec &SS, Decl *ObjCImpDecl, bool HasTemplateArgs) argument 1537 BuildFieldReferenceExpr(Sema &S, Expr *BaseExpr, bool IsArrow, const CXXScopeSpec &SS, FieldDecl *Field, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo) argument [all...] |
H A D | SemaPseudoObject.cpp | 945 Expr *BaseExpr = RefExpr->getBaseExpr(); 946 QualType BaseT = BaseExpr->getType(); 963 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type) 964 << BaseExpr->getType() << arrayRef; 1016 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_method_not_found) 1017 << BaseExpr->getType() << 0 << arrayRef; 1052 Expr *BaseExpr = RefExpr->getBaseExpr(); 1053 QualType BaseT = BaseExpr->getType(); 1071 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type) 1072 << BaseExpr [all...] |
H A D | SemaChecking.cpp | 4536 static const Type* getElementType(const Expr *BaseExpr) { argument 4537 const Type* EltType = BaseExpr->getType().getTypePtr(); 4580 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr, argument 4587 const Type *EffectiveType = getElementType(BaseExpr); 4588 BaseExpr = BaseExpr->IgnoreParenCasts(); 4590 Context.getAsConstantArrayType(BaseExpr->getType()); 4601 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(BaseExpr)) 4603 if (const MemberExpr *ME = dyn_cast<MemberExpr>(BaseExpr)) 4611 const Type* BaseType = getElementType(BaseExpr); [all...] |
H A D | SemaExprObjC.cpp | 535 ExprResult Sema::BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr, argument 543 assert ((!BaseExpr->isTypeDependent() && !IndexExpr->isTypeDependent()) && 551 Result = DefaultLvalueConversion(BaseExpr); 554 BaseExpr = Result.get(); 556 BaseExpr, 1330 Expr *BaseExpr, SourceLocation OpLoc, 1346 : BaseExpr->getSourceRange(); 1366 MemberLoc, BaseExpr)); 1389 BaseExpr)); 1450 MemberLoc, BaseExpr)); 1329 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, DeclarationName MemberName, SourceLocation MemberLoc, SourceLocation SuperLoc, QualType SuperType, bool Super) argument [all...] |
H A D | SemaExpr.cpp | 3135 Expr *BaseExpr, *IndexExpr; local 3138 BaseExpr = LHSExp; 3142 BaseExpr = LHSExp; 3147 BaseExpr = LHSExp; 3149 Result = BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, 0, 0); 3155 BaseExpr = RHSExp; 3161 BaseExpr = RHSExp; 3165 BaseExpr = LHSExp; // vectors: V[123] 3185 BaseExpr = LHSExp; 3196 BaseExpr [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGExpr.cpp | 1973 Expr *BaseExpr = E->getBase(); local 1978 BaseLV = MakeNaturalAlignAddrLValue(EmitScalarExpr(BaseExpr), 1979 BaseExpr->getType()->getPointeeType()); 1981 BaseLV = EmitLValue(BaseExpr); 2429 Expr *BaseExpr = PseudoDtor->getBase(); local 2435 BaseValue = EmitScalarExpr(BaseExpr); 2436 const PointerType *PTy = BaseExpr->getType()->getAs<PointerType>(); 2439 LValue BaseLV = EmitLValue(BaseExpr); 2441 QualType BaseTy = BaseExpr->getType(); 2604 const Expr *BaseExpr local [all...] |
H A D | CGExprCXX.cpp | 289 const Expr *BaseExpr = BO->getLHS(); local 307 This = EmitScalarExpr(BaseExpr); 309 This = EmitLValue(BaseExpr).getAddress();
|
H A D | CGExprScalar.cpp | 2789 Expr *BaseExpr = E->getBase(); local 2790 if (BaseExpr->isRValue()) { 2792 llvm::Value *Src = EmitScalarExpr(BaseExpr); 2798 V = ScalarExprEmitter(*this).EmitLoadOfLValue(BaseExpr); 2800 V = EmitLValue(BaseExpr).getAddress();
|
/external/clang/lib/Rewrite/ |
H A D | RewriteObjC.cpp | 5929 Expr *BaseExpr = IV->getBase(); local 5934 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr)); 5935 IV->setBase(BaseExpr); 5942 if (BaseExpr->getType()->isObjCObjectPointerType()) { 5944 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType()); 5984 if (BaseExpr->getType()->isObjCObjectPointerType()) { 5986 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
|
H A D | RewriteModernObjC.cpp | 7198 Expr *BaseExpr = IV->getBase(); local 7203 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr)); 7204 IV->setBase(BaseExpr); 7211 if (BaseExpr->getType()->isObjCObjectPointerType()) { 7213 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType()); 7231 BaseExpr);
|
/external/clang/include/clang/Sema/ |
H A D | Sema.h | 2731 bool CheckQualifiedMemberReference(Expr *BaseExpr, QualType BaseType, 3878 ExprResult BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr, 5907 Expr *BaseExpr, 6775 void CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,
|