Lines Matching refs:Args
297 const TemplateArgumentListInfo *Args,
301 assert(Args || TemplateKWLoc.isValid());
302 unsigned num_args = Args ? Args->size() : 0;
307 ADL, /*Overload*/ true, Args,
424 const TemplateArgumentListInfo *Args)
435 HasTemplateKWAndArgsInfo(Args != nullptr || TemplateKWLoc.isValid())
437 if (Args) {
442 getTemplateKWAndArgsInfo()->initializeFrom(TemplateKWLoc, *Args,
457 const TemplateArgumentListInfo *Args) {
460 if (Args)
461 size += ASTTemplateKWAndArgsInfo::sizeFor(Args->size());
466 TemplateKWLoc, NameInfo, Args);
744 assert(getNumArgs() == 1 && "unexpected #args in literal operator call");
808 ArrayRef<Expr*> Args,
816 Cons, false, Args,
837 ArrayRef<Expr*> Args,
844 Elidable, Args,
853 ArrayRef<Expr*> args,
864 NumArgs(args.size()),
868 ConstructKind(ConstructKind), Args(nullptr)
871 Args = new (C) Stmt*[args.size()];
873 for (unsigned i = 0; i != args.size(); ++i) {
874 assert(args[i] && "NULL argument in CXXConstructExpr");
876 if (args[i]->isValueDependent())
878 if (args[i]->isInstantiationDependent())
880 if (args[i]->containsUnexpandedParameterPack())
883 Args[i] = args[i];
1138 ArrayRef<Expr*> Args,
1151 NumArgs(Args.size()) {
1153 for (unsigned I = 0; I != Args.size(); ++I) {
1154 if (Args[I]->containsUnexpandedParameterPack())
1157 StoredArgs[I] = Args[I];
1165 ArrayRef<Expr*> Args,
1168 sizeof(Expr *) * Args.size());
1169 return new (Mem) CXXUnresolvedConstructExpr(Type, LParenLoc, Args, RParenLoc);
1483 ArrayRef<TypeSourceInfo *> Args,
1495 TypeTraitExprBits.NumArgs = Args.size();
1499 for (unsigned I = 0, N = Args.size(); I != N; ++I) {
1500 if (Args[I]->getType()->isDependentType())
1502 if (Args[I]->getType()->isInstantiationDependentType())
1504 if (Args[I]->getType()->containsUnexpandedParameterPack())
1507 ToArgs[I] = Args[I];
1514 ArrayRef<TypeSourceInfo *> Args,
1517 unsigned Size = sizeof(TypeTraitExpr) + sizeof(TypeSourceInfo*) * Args.size();
1519 return new (Mem) TypeTraitExpr(T, Loc, Kind, Args, RParenLoc, Value);