Home | History | Annotate | Download | only in Sema

Lines Matching refs:Args

2989                            MultiExprArg Args,
3015 if ((CopyInitializing || (InitListSyntax && Args.size() == 1)) &&
3025 /*ExplicitArgs*/ 0, Args,
3035 Args.size() == 1 &&
3037 S.AddOverloadCandidate(Constructor, FoundDecl, Args, CandidateSet,
3057 MultiExprArg Args, QualType DestType,
3060 assert((!InitListSyntax || (Args.size() == 1 && isa<InitListExpr>(Args[0]))) &&
3103 InitListExpr *ILE = cast<InitListExpr>(Args[0]);
3109 Result = ResolveConstructorOverload(S, Kind.getLocation(), Args,
3116 Args = MultiExprArg(ILE->getInits(), ILE->getNumInits());
3126 Result = ResolveConstructorOverload(S, Kind.getLocation(), Args,
3937 MultiExprArg Args(&InitListAsExpr, InitList ? 1 : 0);
3940 return TryConstructorInitialization(S, Entity, Kind, Args, T, Sequence,
4354 MultiExprArg Args)
4362 for (unsigned I = 0, E = Args.size(); I != E; ++I)
4363 if (Args[I]->getType()->isNonOverloadPlaceholderType()) {
4365 ExprResult result = S.CheckPlaceholderExpr(Args[I]);
4370 Args[I] = result.take();
4382 Expr::hasAnyTypeDependentArguments(Args)) {
4392 if (Args.size() == 1) {
4393 Initializer = Args[0];
4414 if (Args.size() != 1)
4417 TryReferenceInitialization(S, Entity, Kind, Args[0], *this);
4423 (Kind.getKind() == InitializationKind::IK_Direct && Args.empty())) {
4536 TryConstructorInitialization(S, Entity, Kind, Args,
4549 if (Args.size() > 1) {
4553 assert(Args.size() == 1 && "Zero-argument case handled above");
5069 MultiExprArg Args,
5073 unsigned NumArgs = Args.size();
5103 Args.size() == 1 &&
5108 if (S.CompleteConstructorCall(Constructor, Args,
5439 MultiExprArg Args,
5442 Diagnose(S, Entity, Kind, Args);
5451 Args.size() == 1) {
5462 if (isa<InitListExpr>((Expr *)Args[0])) {
5490 Args);
5495 return ExprResult(Args[0]);
5503 Args.size() == 1 && isa<InitListExpr>(Args[0]) &&
5508 Expr *Init = Args[0];
5515 if (Args.size() == 1 && Args[0]->getType()->isArrayType() &&
5518 Expr *Init = Args[0];
5536 // grab the only argument out the Args and place it into the "current"
5566 assert(Args.size() == 1);
5567 CurInit = Args[0];
5910 assert(Args.size() == 1 && "expected a single argument for list init");
5911 InitListExpr *InitList = cast<InitListExpr>(Args[0]);
5951 Kind, Args, *Step,
6207 ArrayRef<Expr *> Args) {
6215 if (Args.empty()) {
6227 << SourceRange(Args.front()->getLocStart(), Args.back()->getLocEnd());
6256 << Args[0]->getType()
6257 << Args[0]->getSourceRange();
6262 << Args[0]->getSourceRange();
6267 S.ResolveAddressOfOverloadedFunction(Args[0],
6280 << Args[0]->getType() << DestType
6281 << Args[0]->getSourceRange();
6284 << DestType << Args[0]->getType()
6285 << Args[0]->getSourceRange();
6287 FailedCandidateSet.NoteCandidates(S, OCD_ViableCandidates, Args);
6294 Args[0]->getType(), Args[0]->getSourceRange()))
6296 << Args[0]->getType() << Args[0]->getSourceRange()
6299 FailedCandidateSet.NoteCandidates(S, OCD_AllCandidates, Args);
6304 << Args[0]->getType() << DestType.getNonReferenceType()
6305 << Args[0]->getSourceRange();
6324 if (isa<InitListExpr>(Args[0])) {
6329 << Args[0]->getSourceRange();
6341 << Args[0]->getType()
6342 << Args[0]->getSourceRange();
6347 << DestType.getNonReferenceType() << Args[0]->getType()
6348 << Args[0]->getSourceRange();
6354 << Args[0]->getType()
6355 << Args[0]->getSourceRange();
6361 << Args[0]->isLValue()
6362 << Args[0]->getType()
6363 << Args[0]->getSourceRange();
6364 emitBadConversionNotes(S, Entity, Args[0]);
6368 QualType FromType = Args[0]->getType();
6372 << Args[0]->isLValue()
6374 << Args[0]->getSourceRange();
6377 emitBadConversionNotes(S, Entity, Args[0]);
6388 if (InitListExpr *InitList = dyn_cast<InitListExpr>(Args[0]))
6392 R = SourceRange(Args.front()->getLocEnd(), Args.back()->getLocEnd());
6406 << DestType.getNonReferenceType() << Args[0]->getSourceRange();
6411 << (DestType->isRecordType()) << DestType << Args[0]->getSourceRange();
6417 if (Args.size())
6418 ArgsRange = SourceRange(Args.front()->getLocStart(),
6419 Args.back()->getLocEnd());
6422 assert(Args.size() == 1 && "List construction from other than 1 argument.");
6423 InitListExpr *InitList = cast<InitListExpr>(Args[0]);
6424 Args = MultiExprArg(InitList->getInits(), InitList->getNumInits());
6433 FailedCandidateSet.NoteCandidates(S, OCD_ViableCandidates, Args);
6480 FailedCandidateSet.NoteCandidates(S, OCD_AllCandidates, Args);
6543 InitListExpr* InitList = cast<InitListExpr>(Args[0]);
6559 << Args[0]->getSourceRange();