Searched refs:IndexExpr (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 3135 Expr *BaseExpr, *IndexExpr; in CreateBuiltinArraySubscriptExpr() local 3139 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 3143 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 3148 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 3149 Result = BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, 0, 0); in CreateBuiltinArraySubscriptExpr() 3156 IndexExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 3162 IndexExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() 3166 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 3186 IndexExpr = RHSExp; in CreateBuiltinArraySubscriptExpr() 3197 IndexExpr = LHSExp; in CreateBuiltinArraySubscriptExpr() [all …]
|
D | SemaChecking.cpp | 4580 void Sema::CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr, in CheckArrayAccess() argument 4583 IndexExpr = IndexExpr->IgnoreParenImpCasts(); in CheckArrayAccess() 4584 if (IndexExpr->isValueDependent()) in CheckArrayAccess() 4595 if (!IndexExpr->EvaluateAsInt(index, Context)) in CheckArrayAccess() 4654 IndexExpr->getLocStart()); in CheckArrayAccess() 4668 << IndexExpr->getSourceRange()); in CheckArrayAccess() 4678 << IndexExpr->getSourceRange()); in CheckArrayAccess()
|
D | SemaExprObjC.cpp | 536 Expr *IndexExpr, in BuildObjCSubscriptExpression() argument 543 assert ((!BaseExpr->isTypeDependent() && !IndexExpr->isTypeDependent()) && in BuildObjCSubscriptExpression() 545 ExprResult Result = CheckPlaceholderExpr(IndexExpr); in BuildObjCSubscriptExpression() 548 IndexExpr = Result.get(); in BuildObjCSubscriptExpression() 557 IndexExpr, in BuildObjCSubscriptExpression()
|
D | SemaPseudoObject.cpp | 880 const Expr *IndexExpr = FromE->IgnoreParenImpCasts(); in CheckSubscriptingKind() local 881 if (isa<StringLiteral>(IndexExpr)) in CheckSubscriptingKind()
|
D | SemaInit.cpp | 1927 Expr *IndexExpr = 0; in CheckDesignatedInitializer() local 1930 IndexExpr = DIE->getArrayIndex(*D); in CheckDesignatedInitializer() 1931 DesignatedStartIndex = IndexExpr->EvaluateKnownConstInt(SemaRef.Context); in CheckDesignatedInitializer() 1940 IndexExpr = DIE->getArrayRangeEnd(*D); in CheckDesignatedInitializer() 1962 SemaRef.Diag(IndexExpr->getLocStart(), in CheckDesignatedInitializer() 1965 << IndexExpr->getSourceRange(); in CheckDesignatedInitializer()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3879 Expr *IndexExpr, 6775 void CheckArrayAccess(const Expr *BaseExpr, const Expr *IndexExpr,
|