Lines Matching refs:Args
3129 MultiExprArg Args,
3165 if ((CopyInitializing || (InitListSyntax && Args.size() == 1)) &&
3175 /*ExplicitArgs*/ nullptr, Args,
3185 Args.size() == 1 &&
3187 S.AddOverloadCandidate(Constructor, FoundDecl, Args, CandidateSet,
3207 MultiExprArg Args, QualType DestType,
3210 assert((!InitListSyntax || (Args.size() == 1 && isa<InitListExpr>(Args[0]))) &&
3253 InitListExpr *ILE = cast<InitListExpr>(Args[0]);
3259 Result = ResolveConstructorOverload(S, Kind.getLocation(), Args,
3266 Args = MultiExprArg(ILE->getInits(), ILE->getNumInits());
3276 Result = ResolveConstructorOverload(S, Kind.getLocation(), Args,
4114 MultiExprArg Args(&InitListAsExpr, InitList ? 1 : 0);
4117 return TryConstructorInitialization(S, Entity, Kind, Args, T, Sequence,
4533 MultiExprArg Args,
4536 InitializeFrom(S, Entity, Kind, Args, TopLevelOfInitList);
4542 MultiExprArg Args,
4550 for (unsigned I = 0, E = Args.size(); I != E; ++I)
4551 if (Args[I]->getType()->isNonOverloadPlaceholderType()) {
4553 ExprResult result = S.CheckPlaceholderExpr(Args[I]);
4558 Args[I] = result.get();
4570 Expr::hasAnyTypeDependentArguments(Args)) {
4580 if (Args.size() == 1) {
4581 Initializer = Args[0];
4587 Args[0] = Initializer;
4610 if (Args.size() != 1)
4613 TryReferenceInitialization(S, Entity, Kind, Args[0], *this);
4619 (Kind.getKind() == InitializationKind::IK_Direct && Args.empty())) {
4732 TryConstructorInitialization(S, Entity, Kind, Args,
4746 if (Args.size() > 1) {
4750 assert(Args.size() == 1 && "Zero-argument case handled above");
5266 MultiExprArg Args,
5272 unsigned NumArgs = Args.size();
5302 Args.size() == 1 &&
5307 if (S.CompleteConstructorCall(Constructor, Args,
5649 MultiExprArg Args,
5652 Diagnose(S, Entity, Kind, Args);
5661 Args.size() == 1) {
5672 if (isa<InitListExpr>((Expr *)Args[0])) {
5700 Args);
5705 return ExprResult(Args[0]);
5713 Args.size() == 1 && isa<InitListExpr>(Args[0]) &&
5718 Expr *Init = Args[0];
5725 if (Args.size() == 1 && Args[0]->getType()->isArrayType() &&
5728 Expr *Init = Args[0];
5746 // grab the only argument out the Args and place it into the "current"
5777 assert(Args.size() == 1);
5778 CurInit = Args[0];
6122 assert(Args.size() == 1 && "expected a single argument for list init");
6123 InitListExpr *InitList = cast<InitListExpr>(Args[0]);
6165 Kind, Args, *Step,
6440 ArrayRef<Expr *> Args) {
6448 if (Args.empty()) {
6460 << SourceRange(Args.front()->getLocStart(), Args.back()->getLocEnd());
6489 << Args[0]->getType()
6490 << Args[0]->getSourceRange();
6495 << Args[0]->getSourceRange();
6500 S.ResolveAddressOfOverloadedFunction(Args[0],
6513 << Args[0]->getType() << DestType
6514 << Args[0]->getSourceRange();
6517 << DestType << Args[0]->getType()
6518 << Args[0]->getSourceRange();
6520 FailedCandidateSet.NoteCandidates(S, OCD_ViableCandidates, Args);
6527 Args[0]->getType(), Args[0]->getSourceRange()))
6529 << Args[0]->getType() << Args[0]->getSourceRange()
6532 FailedCandidateSet.NoteCandidates(S, OCD_AllCandidates, Args);
6537 << Args[0]->getType() << DestType.getNonReferenceType()
6538 << Args[0]->getSourceRange();
6557 if (isa<InitListExpr>(Args[0])) {
6562 << Args[0]->getSourceRange();
6574 << Args[0]->getType()
6575 << Args[0]->getSourceRange();
6580 << DestType.getNonReferenceType() << Args[0]->getType()
6581 << Args[0]->getSourceRange();
6587 << Args[0]->getType()
6588 << Args[0]->getSourceRange();
6594 << Args[0]->isLValue()
6595 << Args[0]->getType()
6596 << Args[0]->getSourceRange();
6597 emitBadConversionNotes(S, Entity, Args[0]);
6601 QualType FromType = Args[0]->getType();
6605 << Args[0]->isLValue()
6607 << Args[0]->getSourceRange();
6610 emitBadConversionNotes(S, Entity, Args[0]);
6621 if (InitListExpr *InitList = dyn_cast<InitListExpr>(Args[0]))
6625 R = SourceRange(Args.front()->getLocEnd(), Args.back()->getLocEnd());
6639 << DestType.getNonReferenceType() << Args[0]->getSourceRange();
6644 << (DestType->isRecordType()) << DestType << Args[0]->getSourceRange();
6650 if (Args.size())
6651 ArgsRange = SourceRange(Args.front()->getLocStart(),
6652 Args.back()->getLocEnd());
6655 assert(Args.size() == 1 &&
6657 InitListExpr *InitList = cast<InitListExpr>(Args[0]);
6658 Args = MultiExprArg(InitList->getInits(), InitList->getNumInits());
6667 FailedCandidateSet.NoteCandidates(S, OCD_ViableCandidates, Args);
6715 FailedCandidateSet.NoteCandidates(S, OCD_AllCandidates, Args);
6778 InitListExpr *InitList = cast<InitListExpr>(Args[0]);
6790 << Args[0]->getSourceRange();