Home
last modified time | relevance | path

Searched refs:IndexExpr (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Sema/
DSemaExpr.cpp3981 Expr *BaseExpr, *IndexExpr; in CreateBuiltinArraySubscriptExpr() local
3985 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr()
3989 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr()
3994 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr()
3999 return BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, nullptr, in CreateBuiltinArraySubscriptExpr()
4006 IndexExpr = LHSExp; in CreateBuiltinArraySubscriptExpr()
4012 IndexExpr = LHSExp; in CreateBuiltinArraySubscriptExpr()
4021 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr()
4041 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr()
4052 IndexExpr = LHSExp; in CreateBuiltinArraySubscriptExpr()
[all …]
DSemaExprObjC.cpp605 Expr *IndexExpr, in BuildObjCSubscriptExpression() argument
612 assert((!BaseExpr->isTypeDependent() && !IndexExpr->isTypeDependent()) && in BuildObjCSubscriptExpression()
617 ExprResult Result = CheckPlaceholderExpr(IndexExpr); in BuildObjCSubscriptExpression()
620 IndexExpr = Result.get(); in BuildObjCSubscriptExpression()
629 return ObjCSubscriptRefExpr::Create(Context, BaseExpr, IndexExpr, in BuildObjCSubscriptExpression()
DSemaPseudoObject.cpp1037 const Expr *IndexExpr = FromE->IgnoreParenImpCasts(); in CheckSubscriptingKind() local
1038 if (isa<StringLiteral>(IndexExpr)) in CheckSubscriptingKind()
DSemaInit.cpp2195 Expr *IndexExpr = nullptr; in CheckDesignatedInitializer() local
2198 IndexExpr = DIE->getArrayIndex(*D); in CheckDesignatedInitializer()
2199 DesignatedStartIndex = IndexExpr->EvaluateKnownConstInt(SemaRef.Context); in CheckDesignatedInitializer()
2208 IndexExpr = DIE->getArrayRangeEnd(*D); in CheckDesignatedInitializer()
2230 SemaRef.Diag(IndexExpr->getLocStart(), in CheckDesignatedInitializer()
2233 << IndexExpr->getSourceRange(); in CheckDesignatedInitializer()
DSemaChecking.cpp7925 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr, in CheckArrayAccess() argument
7928 IndexExpr = IndexExpr->IgnoreParenImpCasts(); in CheckArrayAccess()
7929 if (IndexExpr->isValueDependent()) in CheckArrayAccess()
7940 if (!IndexExpr->EvaluateAsInt(index, Context)) in CheckArrayAccess()
7999 IndexExpr->getLocStart()); in CheckArrayAccess()
8013 << IndexExpr->getSourceRange()); in CheckArrayAccess()
8023 << IndexExpr->getSourceRange()); in CheckArrayAccess()
/external/clang/include/clang/Sema/
DSema.h4848 Expr *IndexExpr,
8429 void CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,