Lines Matching refs:Args
563 const TemplateArgumentList &Args = (*I)->getTemplateArgs();
564 assert(Params->size() == Args.size());
569 Args.get(i).print(Policy, TOut);
579 const TemplateArgumentList* Args = FSI->TemplateArguments;
580 assert(Params->size() == Args->size());
585 Args->get(i).print(Policy, TOut);
1078 unsigned NumPreArgs, ArrayRef<Expr*> args, QualType t,
1085 NumArgs(args.size()) {
1087 SubExprs = new (C) Stmt*[args.size()+PREARGS_START+NumPreArgs];
1089 for (unsigned i = 0; i != args.size(); ++i) {
1090 if (args[i]->isTypeDependent())
1092 if (args[i]->isValueDependent())
1094 if (args[i]->isInstantiationDependent())
1096 if (args[i]->containsUnexpandedParameterPack())
1099 SubExprs[i+PREARGS_START+NumPreArgs] = args[i];
1106 CallExpr::CallExpr(const ASTContext& C, Expr *fn, ArrayRef<Expr*> args,
1113 NumArgs(args.size()) {
1115 SubExprs = new (C) Stmt*[args.size()+PREARGS_START];
1117 for (unsigned i = 0; i != args.size(); ++i) {
1118 if (args[i]->isTypeDependent())
1120 if (args[i]->isValueDependent())
1122 if (args[i]->isInstantiationDependent())
1124 if (args[i]->containsUnexpandedParameterPack())
1127 SubExprs[i+PREARGS_START] = args[i];
1193 // Copy over args.
1196 // Null out new args.
3375 ArrayRef<Expr *> Args,
3389 initArgsAndSelLocs(Args, SelLocs, SelLocsK);
3401 ArrayRef<Expr *> Args,
3413 initArgsAndSelLocs(Args, SelLocs, SelLocsK);
3425 ArrayRef<Expr *> Args,
3438 initArgsAndSelLocs(Args, SelLocs, SelLocsK);
3442 void ObjCMessageExpr::initArgsAndSelLocs(ArrayRef<Expr *> Args,
3445 setNumArgs(Args.size());
3447 for (unsigned I = 0; I != Args.size(); ++I) {
3448 if (Args[I]->isTypeDependent())
3450 if (Args[I]->isValueDependent())
3452 if (Args[I]->isInstantiationDependent())
3454 if (Args[I]->containsUnexpandedParameterPack())
3457 MyArgs[I] = Args[I];
3476 ArrayRef<Expr *> Args,
3484 Mem = alloc(Context, Args.size(), 0);
3486 Mem = alloc(Context, Args, RBracLoc, SelLocs, Sel, SelLocsK);
3489 Method, Args, RBracLoc, isImplicit);
3499 ArrayRef<Expr *> Args,
3507 Mem = alloc(Context, Args.size(), 0);
3509 Mem = alloc(Context, Args, RBracLoc, SelLocs, Sel, SelLocsK);
3511 SelLocs, SelLocsK, Method, Args, RBracLoc,
3522 ArrayRef<Expr *> Args,
3530 Mem = alloc(Context, Args.size(), 0);
3532 Mem = alloc(Context, Args, RBracLoc, SelLocs, Sel, SelLocsK);
3534 SelLocs, SelLocsK, Method, Args, RBracLoc,
3546 ArrayRef<Expr *> Args,
3551 SelLocsK = hasStandardSelectorLocs(Sel, SelLocs, Args, RBraceLoc);
3554 return alloc(C, Args.size(), NumStoredSelLocs);
3634 ShuffleVectorExpr::ShuffleVectorExpr(const ASTContext &C, ArrayRef<Expr*> args,
3641 BuiltinLoc(BLoc), RParenLoc(RP), NumExprs(args.size())
3643 SubExprs = new (C) Stmt*[args.size()];
3644 for (unsigned i = 0; i != args.size(); i++) {
3645 if (args[i]->isTypeDependent())
3647 if (args[i]->isValueDependent())
3649 if (args[i]->isInstantiationDependent())
3651 if (args[i]->containsUnexpandedParameterPack())
3654 SubExprs[i] = args[i];
4151 AtomicExpr::AtomicExpr(SourceLocation BLoc, ArrayRef<Expr*> args,
4155 NumSubExprs(args.size()), BuiltinLoc(BLoc), RParenLoc(RP), Op(op)
4157 assert(args.size() == getNumSubExprs(op) && "wrong number of subexpressions");
4158 for (unsigned i = 0; i != args.size(); i++) {
4159 if (args[i]->isTypeDependent())
4161 if (args[i]->isValueDependent())
4163 if (args[i]->isInstantiationDependent())
4165 if (args[i]->containsUnexpandedParameterPack())
4168 SubExprs[i] = args[i];