Home | History | Annotate | Download | only in Sema

Lines Matching refs:Args

1495                                      MultiExprArg Args,
1511 for (unsigned i = 0, e = Args.size(); i != e; i++) {
1512 if (Args[i]->isTypeDependent())
1518 result = checkUnknownAnyArg(SelLoc, Args[i], paramTy);
1520 result = DefaultArgumentPromotion(Args[i]);
1524 Args[i] = result.get();
1589 if (Args.size() < NumNamedArgs) {
1591 << 2 << NumNamedArgs << static_cast<unsigned>(Args.size());
1602 if (Args[i]->isTypeDependent())
1605 Expr *argExpr = Args[i];
1624 Args[i] = argE.get();
1651 Args[i] = ArgE.getAs<Expr>();
1656 if (typeArgs && Args[i]->isRValue() && paramType->isBlockPointerType() &&
1657 Args[i]->getType()->isBlockPointerType() &&
1659 ExprResult arg = Args[i];
1661 Args[i] = arg.get();
1668 for (unsigned i = NumNamedArgs, e = Args.size(); i < e; ++i) {
1669 if (Args[i]->isTypeDependent())
1672 ExprResult Arg = DefaultVariadicArgumentPromotion(Args[i], VariadicMethod,
1675 Args[i] = Arg.get();
1679 if (Args.size() != NumNamedArgs) {
1680 Diag(Args[NumNamedArgs]->getLocStart(),
1682 << 2 /*method*/ << NumNamedArgs << static_cast<unsigned>(Args.size())
1684 << SourceRange(Args[NumNamedArgs]->getLocStart(),
1685 Args.back()->getLocEnd());
1689 DiagnoseSentinelCalls(Method, SelLoc, Args);
1693 Method, SelLoc, makeArrayRef(Args.data(), Args.size()));
2158 MultiExprArg Args) {
2192 LBracLoc, SelectorLocs, RBracLoc, Args);
2200 LBracLoc, SelectorLocs, RBracLoc, Args);
2208 MultiExprArg Args) {
2215 Sel, Method, Loc, Loc, Loc, Args,
2269 Expr **Args, unsigned NumArgs) {
2288 Expr *FormatExpr = Args[Idx];
2357 Expr **Args = ArgsIn.data();
2361 SelectorLocs, /*Method=*/nullptr, makeArrayRef(Args, NumArgs), RBracLoc,
2410 Expr **Args = ArgsIn.data();
2411 if (CheckMessageArgumentTypes(ReceiverType, MultiExprArg(Args, NumArgs),
2447 DiagnoseCStringFormatDirectiveInObjCAPI(*this, Method, Sel, Args, NumArgs);
2455 Method, makeArrayRef(Args, NumArgs),
2460 Method, makeArrayRef(Args, NumArgs),
2477 MultiExprArg Args) {
2489 Args);
2497 MultiExprArg Args) {
2500 Sel, Method, Loc, Loc, Loc, Args,
2575 Expr **Args = ArgsIn.data();
2579 SelectorLocs, /*Method=*/nullptr, makeArrayRef(Args, NumArgs),
2872 Expr **Args = ArgsIn.data();
2877 if (CheckMessageArgumentTypes(ReceiverType, MultiExprArg(Args, NumArgs),
2919 if (ObjCSelectorExpr *SelExp = dyn_cast<ObjCSelectorExpr>(Args[0])) {
2961 Diag(Args[0]->getExprLoc(), diag::note_used_here);
2968 DiagnoseCStringFormatDirectiveInObjCAPI(*this, Method, Sel, Args, NumArgs);
2976 makeArrayRef(Args, NumArgs), RBracLoc,
2981 makeArrayRef(Args, NumArgs), RBracLoc,
3044 MultiExprArg Args) {
3060 RemoveSelectorFromWarningCache(*this, Args[0]);
3065 RBracLoc, Args);
3956 Expr *args[] = { SrcExpr };
3960 MultiExprArg(args, 1));