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

/external/clang/lib/Sema/
H A DSemaExprMember.cpp457 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, argument
477 assert(BaseExpr && "cannot happen with implicit member accesses");
479 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange();
488 // Get the type being accessed in BaseType. If this is an arrow, the BaseExpr
491 Context, BaseExpr, BaseType, IsArrow, OpLoc,
500 Expr *BaseExpr,
507 if (!BaseExpr)
526 bool Sema::CheckQualifiedMemberReference(Expr *BaseExpr, argument
542 if (!BaseExpr && !(*I)->isCXXInstanceMember())
559 DiagnoseQualifiedMemberReference(*this, BaseExpr, BaseTyp
499 DiagnoseQualifiedMemberReference(Sema &SemaRef, Expr *BaseExpr, QualType BaseType, const CXXScopeSpec &SS, NamedDecl *rep, const DeclarationNameInfo &nameInfo) argument
614 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, Expr *BaseExpr, const RecordType *RTy, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, bool HasTemplateArgs, TypoExpr *&TE) argument
895 BuildMSPropertyRefExpr(Sema &S, Expr *BaseExpr, bool IsArrow, const CXXScopeSpec &SS, MSPropertyDecl *PD, const DeclarationNameInfo &NameInfo) argument
961 BuildMemberReferenceExpr(Expr *BaseExpr, QualType BaseExprType, SourceLocation OpLoc, bool IsArrow, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs, const Scope *S, bool SuppressQualifierCheck, ActOnMemberAccessExtraArgs *ExtraArgs) argument
1283 LookupMemberExpr(Sema &S, LookupResult &R, ExprResult &BaseExpr, bool &IsArrow, SourceLocation OpLoc, CXXScopeSpec &SS, Decl *ObjCImpDecl, bool HasTemplateArgs) argument
1761 BuildFieldReferenceExpr(Sema &S, Expr *BaseExpr, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, FieldDecl *Field, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo) argument
[all...]
H A DSemaPseudoObject.cpp1136 Expr *BaseExpr = RefExpr->getBaseExpr();
1137 QualType BaseT = BaseExpr->getType();
1155 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type)
1156 << BaseExpr->getType() << arrayRef;
1206 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_method_not_found)
1207 << BaseExpr->getType() << 0 << arrayRef;
1242 Expr *BaseExpr = RefExpr->getBaseExpr();
1243 QualType BaseT = BaseExpr->getType();
1262 S.Diag(BaseExpr->getExprLoc(), diag::err_objc_subscript_base_type)
1263 << BaseExpr
[all...]
H A DSemaExprObjC.cpp736 ExprResult Sema::BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr, argument
744 assert((!BaseExpr->isTypeDependent() && !IndexExpr->isTypeDependent()) &&
755 Result = DefaultLvalueConversion(BaseExpr);
758 BaseExpr = Result.get();
762 BaseExpr, IndexExpr, Context.PseudoObjectTy, VK_LValue, OK_ObjCSubscript,
1757 Expr *BaseExpr, SourceLocation OpLoc,
1774 : BaseExpr->getSourceRange();
1792 OK_ObjCProperty, MemberLoc, BaseExpr);
1809 OK_ObjCProperty, MemberLoc, BaseExpr);
1878 OK_ObjCProperty, MemberLoc, BaseExpr);
1756 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, DeclarationName MemberName, SourceLocation MemberLoc, SourceLocation SuperLoc, QualType SuperType, bool Super) argument
[all...]
H A DSemaExpr.cpp4382 Expr *BaseExpr, *IndexExpr; local
4385 BaseExpr = LHSExp;
4389 BaseExpr = LHSExp;
4394 BaseExpr = LHSExp;
4400 return BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, nullptr,
4406 BaseExpr = RHSExp;
4412 BaseExpr = RHSExp;
4417 << ResultType << BaseExpr->getSourceRange();
4421 BaseExpr = LHSExp; // vectors: V[123]
4441 BaseExpr
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp502 const SCEV *BaseExpr = SE->getGEPExpr(GEP->getSourceElementType(), local
511 factorArrayIndex(ArrayIdx, BaseExpr, ElementSize, GEP);
522 factorArrayIndex(TruncatedArrayIdx, BaseExpr, ElementSize, GEP);
/external/clang/lib/CodeGen/
H A DCGExpr.cpp3243 Expr *BaseExpr = E->getBase(); local
3249 Address Addr = EmitPointerWithAlignment(BaseExpr, &AlignSource);
3250 QualType PtrTy = BaseExpr->getType()->getPointeeType();
3254 BaseLV = EmitCheckedLValue(BaseExpr, TCK_MemberAccess);
3762 Expr *BaseExpr = PseudoDtor->getBase(); local
3768 BaseValue = EmitPointerWithAlignment(BaseExpr);
3769 const PointerType *PTy = BaseExpr->getType()->getAs<PointerType>();
3772 LValue BaseLV = EmitLValue(BaseExpr);
3774 QualType BaseTy = BaseExpr->getType();
3956 const Expr *BaseExpr local
[all...]
H A DCGExprCXX.cpp289 const Expr *BaseExpr = BO->getLHS(); local
306 This = EmitPointerWithAlignment(BaseExpr);
308 This = EmitLValue(BaseExpr).getAddress();
H A DCGExprScalar.cpp3483 Expr *BaseExpr = E->getBase(); local
3485 if (BaseExpr->isRValue()) {
3486 Addr = Address(EmitScalarExpr(BaseExpr), getPointerAlign());
3488 Addr = EmitLValue(BaseExpr).getAddress();
/external/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp5803 Expr *BaseExpr = IV->getBase(); local
5808 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr));
5809 IV->setBase(BaseExpr);
5816 if (BaseExpr->getType()->isObjCObjectPointerType()) {
5818 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
5857 if (BaseExpr->getType()->isObjCObjectPointerType()) {
5859 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
H A DRewriteModernObjC.cpp7454 Expr *BaseExpr = IV->getBase(); local
7459 BaseExpr = cast<Expr>(RewriteFunctionBodyOrGlobalInitializer(BaseExpr));
7460 IV->setBase(BaseExpr);
7467 if (BaseExpr->getType()->isObjCObjectPointerType()) {
7469 dyn_cast<ObjCInterfaceType>(BaseExpr->getType()->getPointeeType());
7490 BaseExpr);
/external/clang/include/clang/AST/
H A DExprCXX.h664 Expr *BaseExpr; member in class:clang::MSPropertyRefExpr
679 BaseExpr(baseExpr), TheDecl(decl),
693 return BaseExpr->getLocStart();
702 return child_range((Stmt**)&BaseExpr, (Stmt**)&BaseExpr + 1);
708 Expr *getBaseExpr() const { return BaseExpr; }
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2024 Expr *BaseExpr = M->getBase(); local
2029 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr);
2039 state = createTemporaryRegionIfNeeded(state, LCtx, BaseExpr);
2040 SVal baseExprVal = state->getSVal(BaseExpr, LCtx);
/external/llvm/include/llvm/Analysis/
H A DScalarEvolution.h1238 /// \p BaseExpr The expression for the pointer operand.
1241 const SCEV *getGEPExpr(Type *PointeeType, const SCEV *BaseExpr,
/external/clang/include/clang/Sema/
H A DSema.h3966 bool CheckQualifiedMemberReference(Expr *BaseExpr, QualType BaseType,
5227 ExprResult BuildObjCSubscriptExpression(SourceLocation RB, Expr *BaseExpr,
7567 Expr *BaseExpr,
9330 void CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp2973 ScalarEvolution::getGEPExpr(Type *PointeeType, const SCEV *BaseExpr,
2978 Type *IntPtrTy = getEffectiveSCEVType(BaseExpr->getType());
3020 return getAddExpr(BaseExpr, TotalOffset, Wrap);
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp1679 E->BaseExpr = Reader.ReadSubExpr();

Completed in 1839 milliseconds