Lines Matching defs:IndexExpr
3422 Expr *BaseExpr, *IndexExpr;
3426 IndexExpr = RHSExp;
3430 IndexExpr = RHSExp;
3435 IndexExpr = RHSExp;
3440 return BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, 0, 0);
3451 IndexExpr = LHSExp;
3457 IndexExpr = LHSExp;
3466 IndexExpr = RHSExp;
3486 IndexExpr = RHSExp;
3497 IndexExpr = LHSExp;
3504 if (!IndexExpr->getType()->isIntegerType() && !IndexExpr->isTypeDependent())
3506 << IndexExpr->getSourceRange());
3508 if ((IndexExpr->getType()->isSpecificBuiltinType(BuiltinType::Char_S) ||
3509 IndexExpr->getType()->isSpecificBuiltinType(BuiltinType::Char_U))
3510 && !IndexExpr->isTypeDependent())
3511 Diag(LLoc, diag::warn_subscript_is_char) << IndexExpr->getSourceRange();
6442 Expr* IndexExpr = RHSExpr;
6445 IndexExpr = LHSExpr;
6449 IndexExpr->getType()->isIntegralOrUnscopedEnumerationType();
6454 if (IndexExpr->EvaluateAsInt(index, Self.getASTContext())) {
6464 << DiagRange << IndexExpr->IgnoreImpCasts()->getType();
6467 if (IndexExpr == RHSExpr) {