Lines Matching refs:IdxExpr
269 const Expr *IdxExpr, in checkFunctionOrMethodParameterIndex() argument
282 if (IdxExpr->isTypeDependent() || IdxExpr->isValueDependent() || in checkFunctionOrMethodParameterIndex()
283 !IdxExpr->isIntegerConstantExpr(IdxInt, S.Context)) { in checkFunctionOrMethodParameterIndex()
286 << IdxExpr->getSourceRange(); in checkFunctionOrMethodParameterIndex()
293 << Attr.getName() << AttrArgNum << IdxExpr->getSourceRange(); in checkFunctionOrMethodParameterIndex()
301 << Attr.getName() << IdxExpr->getSourceRange(); in checkFunctionOrMethodParameterIndex()
2753 Expr *IdxExpr = Attr.getArgAsExpr(0); in handleFormatArgAttr() local
2755 if (!checkFunctionOrMethodParameterIndex(S, D, Attr, 1, IdxExpr, Idx)) in handleFormatArgAttr()
2767 << "a string type" << IdxExpr->getSourceRange() in handleFormatArgAttr()
2778 << IdxExpr->getSourceRange() << getFunctionOrMethodParamRange(D, 0); in handleFormatArgAttr()
2786 IdxExpr->EvaluateAsInt(Val, S.Context); in handleFormatArgAttr()
2919 Expr *IdxExpr = Attr.getArgAsExpr(1); in handleFormatAttr() local
2921 if (!checkUInt32Argument(S, Attr, IdxExpr, Idx, 2)) in handleFormatAttr()
2926 << Attr.getName() << 2 << IdxExpr->getSourceRange(); in handleFormatAttr()
2937 << IdxExpr->getSourceRange(); in handleFormatAttr()
2949 << "a CFString" << IdxExpr->getSourceRange() in handleFormatAttr()
2958 << "an NSString" << IdxExpr->getSourceRange() in handleFormatAttr()
2965 << "a string type" << IdxExpr->getSourceRange() in handleFormatAttr()