Lines Matching refs:IndexExpr
3135 Expr *BaseExpr, *IndexExpr;
3139 IndexExpr = RHSExp;
3143 IndexExpr = RHSExp;
3148 IndexExpr = RHSExp;
3149 Result = BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, 0, 0);
3156 IndexExpr = LHSExp;
3162 IndexExpr = LHSExp;
3166 IndexExpr = RHSExp;
3186 IndexExpr = RHSExp;
3197 IndexExpr = LHSExp;
3204 if (!IndexExpr->getType()->isIntegerType() && !IndexExpr->isTypeDependent())
3206 << IndexExpr->getSourceRange());
3208 if ((IndexExpr->getType()->isSpecificBuiltinType(BuiltinType::Char_S) ||
3209 IndexExpr->getType()->isSpecificBuiltinType(BuiltinType::Char_U))
3210 && !IndexExpr->isTypeDependent())
3211 Diag(LLoc, diag::warn_subscript_is_char) << IndexExpr->getSourceRange();
6145 Expr* IndexExpr = RHSExpr;
6148 IndexExpr = LHSExpr;
6152 IndexExpr->getType()->isIntegralOrUnscopedEnumerationType();
6157 if (IndexExpr->EvaluateAsInt(index, Self.getASTContext())) {
6167 << DiagRange << IndexExpr->IgnoreImpCasts()->getType();
6170 if (IndexExpr == RHSExpr) {