Searched refs:BaseExpr (Results 1 - 13 of 13) sorted by relevance

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprMember.cpp429 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, argument
449 assert(BaseExpr && "cannot happen with implicit member accesses");
451 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange();
460 // Get the type being accessed in BaseType. If this is an arrow, the BaseExpr
462 return Owned(CXXDependentScopeMemberExpr::Create(Context, BaseExpr, BaseType,
474 Expr *BaseExpr,
481 if (!BaseExpr)
500 bool Sema::CheckQualifiedMemberReference(Expr *BaseExpr, argument
516 if (!BaseExpr && !(*I)->isCXXInstanceMember())
533 DiagnoseQualifiedMemberReference(*this, BaseExpr, BaseTyp
473 DiagnoseQualifiedMemberReference(Sema &SemaRef, Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, NamedDecl *rep, const DeclarationNameInfo &nameInfo) argument
839 BuildMSPropertyRefExpr(Sema &S, Expr *BaseExpr, bool IsArrow, const CXXScopeSpec &SS, MSPropertyDecl *PD, const DeclarationNameInfo &NameInfo) argument
872 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
1174 LookupMemberExpr(LookupResult &R, ExprResult &BaseExpr, bool &IsArrow, SourceLocation OpLoc, CXXScopeSpec &SS, Decl *ObjCImpDecl, bool HasTemplateArgs) argument
1682 BuildFieldReferenceExpr(Sema &S, Expr *BaseExpr, bool IsArrow, const CXXScopeSpec &SS, FieldDecl *Field, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo) argument
[all...]
H A DSemaPseudoObject.cpp1081 Expr *BaseExpr = RefExpr->getBaseExpr();
1082 QualType BaseT = BaseExpr->getType();
1103 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type)
1104 << BaseExpr->getType() << arrayRef;
1154 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_method_not_found)
1155 << BaseExpr->getType() << 0 << arrayRef;
1190 Expr *BaseExpr = RefExpr->getBaseExpr();
1191 QualType BaseT = BaseExpr->getType();
1213 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type)
1214 << BaseExpr
[all...]
H A DSemaExprObjC.cpp601 ExprResult Sema::BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr, argument
609 assert((!BaseExpr->isTypeDependent() && !IndexExpr->isTypeDependent()) &&
620 Result = DefaultLvalueConversion(BaseExpr);
623 BaseExpr = Result.get();
627 BaseExpr,
1499 Expr *BaseExpr, SourceLocation OpLoc,
1516 : BaseExpr->getSourceRange();
1535 MemberLoc, BaseExpr));
1558 BaseExpr));
1613 MemberLoc, BaseExpr));
1498 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, DeclarationName MemberName, SourceLocation MemberLoc, SourceLocation SuperLoc, QualType SuperType, bool Super) argument
[all...]
H A DSemaExpr.cpp3738 Expr *BaseExpr, *IndexExpr; local
3741 BaseExpr = LHSExp;
3745 BaseExpr = LHSExp;
3750 BaseExpr = LHSExp;
3756 return BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, 0, 0);
3761 BaseExpr = RHSExp;
3767 BaseExpr = RHSExp;
3772 << ResultType << BaseExpr->getSourceRange();
3776 BaseExpr = LHSExp; // vectors: V[123]
3796 BaseExpr
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExpr.cpp2432 Expr *BaseExpr = E->getBase(); local
2437 llvm::Value *Ptr = EmitScalarExpr(BaseExpr);
2438 QualType PtrTy = BaseExpr->getType()->getPointeeType();
2442 BaseLV = EmitCheckedLValue(BaseExpr, TCK_MemberAccess);
2905 Expr *BaseExpr = PseudoDtor->getBase(); local
2911 BaseValue = EmitScalarExpr(BaseExpr);
2912 const PointerType *PTy = BaseExpr->getType()->getAs<PointerType>();
2915 LValue BaseLV = EmitLValue(BaseExpr);
2917 QualType BaseTy = BaseExpr->getType();
3093 const Expr *BaseExpr local
[all...]
H A DCGExprScalar.cpp3291 Expr *BaseExpr = E->getBase(); local
3292 if (BaseExpr->isRValue()) {
3294 llvm::Value *Src = EmitScalarExpr(BaseExpr);
3300 V = ScalarExprEmitter(*this).EmitLoadOfLValue(BaseExpr);
3302 V = EmitLValue(BaseExpr).getAddress();
H A DCGExprCXX.cpp236 const Expr *BaseExpr = BO->getLHS(); local
254 This = EmitScalarExpr(BaseExpr);
256 This = EmitLValue(BaseExpr).getAddress();
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp1772 Expr *BaseExpr = M->getBase(); local
1777 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr);
1787 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr);
1788 SVal baseExprVal = state->getSVal(BaseExpr, LCtx);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DExprCXX.h615 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; }
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DRewriteObjC.cpp5923 Expr *BaseExpr = IV->getBase(); local
5928 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr));
5929 IV->setBase(BaseExpr);
5936 if (BaseExpr->getType()->isObjCObjectPointerType()) {
5938 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
5978 if (BaseExpr->getType()->isObjCObjectPointerType()) {
5980 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
H A DRewriteModernObjC.cpp7744 Expr *BaseExpr = IV->getBase(); local
7749 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr));
7750 IV->setBase(BaseExpr);
7757 if (BaseExpr->getType()->isObjCObjectPointerType()) {
7759 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
7780 BaseExpr);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h3407 bool CheckQualifiedMemberReference(Expr *BaseExpr, QualType BaseType,
4608 ExprResult BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr,
6798 Expr *BaseExpr,
7809 void CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp1611 E->BaseExpr = Reader.ReadSubExpr();

Completed in 483 milliseconds