Home | History | Annotate | Download | only in Sema

Lines Matching defs:IndexExpr

3981   Expr *BaseExpr, *IndexExpr;
3985 IndexExpr = RHSExp;
3989 IndexExpr = RHSExp;
3994 IndexExpr = RHSExp;
3999 return BuildObjCSubscriptExpression(RLoc, BaseExpr, IndexExpr, nullptr,
4006 IndexExpr = LHSExp;
4012 IndexExpr = LHSExp;
4021 IndexExpr = RHSExp;
4041 IndexExpr = RHSExp;
4052 IndexExpr = LHSExp;
4059 if (!IndexExpr->getType()->isIntegerType() && !IndexExpr->isTypeDependent())
4061 << IndexExpr->getSourceRange());
4063 if ((IndexExpr->getType()->isSpecificBuiltinType(BuiltinType::Char_S) ||
4064 IndexExpr->getType()->isSpecificBuiltinType(BuiltinType::Char_U))
4065 && !IndexExpr->isTypeDependent())
4066 Diag(LLoc, diag::warn_subscript_is_char) << IndexExpr->getSourceRange();
7585 Expr* IndexExpr = RHSExpr;
7588 IndexExpr = LHSExpr;
7592 IndexExpr->getType()->isIntegralOrUnscopedEnumerationType();
7593 if (!IsStringPlusInt || IndexExpr->isValueDependent())
7597 if (IndexExpr->EvaluateAsInt(index, Self.getASTContext())) {
7607 << DiagRange << IndexExpr->IgnoreImpCasts()->getType();
7610 if (IndexExpr == RHSExpr) {