Home | History | Annotate | Download | only in Sema

Lines Matching refs:Args

3353                            MultiExprArg Args,
3389 (IsListInit && Args.size() == 1 && isa<InitListExpr>(Args[0]))) &&
3399 /*ExplicitArgs*/ nullptr, Args,
3409 Args.size() == 1 &&
3411 S.AddOverloadCandidate(Constructor, FoundDecl, Args, CandidateSet,
3433 MultiExprArg Args, QualType DestType,
3437 assert((!IsListInit || (Args.size() == 1 && isa<InitListExpr>(Args[0]))) &&
3479 InitListExpr *ILE = cast<InitListExpr>(Args[0]);
3485 Result = ResolveConstructorOverload(S, Kind.getLocation(), Args,
3492 Args = MultiExprArg(ILE->getInits(), ILE->getNumInits());
3502 Result = ResolveConstructorOverload(S, Kind.getLocation(), Args,
4386 MultiExprArg Args(&InitListAsExpr, InitList ? 1 : 0);
4389 return TryConstructorInitialization(S, Entity, Kind, Args, T, Sequence,
4802 MultiExprArg Args,
4805 InitializeFrom(S, Entity, Kind, Args, TopLevelOfInitList);
4822 MultiExprArg Args,
4830 for (unsigned I = 0, E = Args.size(); I != E; ++I)
4831 if (Args[I]->getType()->isNonOverloadPlaceholderType()) {
4833 ExprResult result = S.CheckPlaceholderExpr(Args[I]);
4838 Args[I] = result.get();
4850 Expr::hasAnyTypeDependentArguments(Args)) {
4860 if (Args.size() == 1) {
4861 Initializer = Args[0];
4867 Args[0] = Initializer;
4889 if (Args.size() != 1)
4892 TryReferenceInitialization(S, Entity, Kind, Args[0], *this);
4898 (Kind.getKind() == InitializationKind::IK_Direct && Args.empty())) {
5011 TryConstructorInitialization(S, Entity, Kind, Args,
5025 if (Args.size() > 1) {
5029 assert(Args.size() == 1 && "Zero-argument case handled above");
5563 MultiExprArg Args,
5570 unsigned NumArgs = Args.size();
5600 Args.size() == 1 &&
5605 if (S.CompleteConstructorCall(Constructor, Args,
6049 MultiExprArg Args,
6052 Diagnose(S, Entity, Kind, Args);
6076 Args.size() == 1) {
6087 if (isa<InitListExpr>((Expr *)Args[0])) {
6115 Args);
6120 return ExprResult(Args[0]);
6128 Args.size() == 1 && isa<InitListExpr>(Args[0]) &&
6133 Expr *Init = Args[0];
6140 if (Args.size() == 1 && Args[0]->getType()->isArrayType() &&
6143 Expr *Init = Args[0];
6161 // grab the only argument out the Args and place it into the "current"
6193 assert(Args.size() == 1);
6194 CurInit = Args[0];
6538 assert(Args.size() == 1 && "expected a single argument for list init");
6539 InitListExpr *InitList = cast<InitListExpr>(Args[0]);
6584 S, UseTemporary ? TempEntity : Entity, Kind, Args, *Step,
6881 ArrayRef<Expr *> Args) {
6889 if (Args.empty()) {
6901 << SourceRange(Args.front()->getLocStart(), Args.back()->getLocEnd());
6930 << Args[0]->getType()
6931 << Args[0]->getSourceRange();
6936 << Args[0]->getSourceRange();
6941 S.ResolveAddressOfOverloadedFunction(Args[0],
6949 auto *FD = cast<FunctionDecl>(cast<DeclRefExpr>(Args[0])->getDecl());
6951 Args[0]->getLocStart());
6961 << Args[0]->getType() << DestType
6962 << Args[0]->getSourceRange();
6965 << DestType << Args[0]->getType()
6966 << Args[0]->getSourceRange();
6968 FailedCandidateSet.NoteCandidates(S, OCD_ViableCandidates, Args);
6975 Args[0]->getType(), Args[0]->getSourceRange()))
6978 << Args[0]->getType() << Args[0]->getSourceRange()
6981 FailedCandidateSet.NoteCandidates(S, OCD_AllCandidates, Args);
6986 << Args[0]->getType() << DestType.getNonReferenceType()
6987 << Args[0]->getSourceRange();
7006 if (isa<InitListExpr>(Args[0])) {
7011 << Args[0]->getSourceRange();
7023 << Args[0]->getType()
7024 << Args[0]->getSourceRange();
7029 << DestType.getNonReferenceType() << Args[0]->getType()
7030 << Args[0]->getSourceRange();
7034 QualType SourceType = Args[0]->getType();
7043 << Args[0]->getSourceRange();
7050 << Args[0]->isLValue()
7051 << Args[0]->getType()
7052 << Args[0]->getSourceRange();
7053 emitBadConversionNotes(S, Entity, Args[0]);
7057 QualType FromType = Args[0]->getType();
7061 << Args[0]->isLValue()
7063 << Args[0]->getSourceRange();
7066 emitBadConversionNotes(S, Entity, Args[0]);
7077 auto *InitList = dyn_cast<InitListExpr>(Args[0]);
7081 assert(Args.size() > 1 && "Expected multiple initializers!");
7082 R = SourceRange(Args.front()->getLocEnd(), Args.back()->getLocEnd());
7097 << DestType.getNonReferenceType() << Args[0]->getSourceRange();
7102 << (DestType->isRecordType()) << DestType << Args[0]->getSourceRange();
7108 if (Args.size())
7109 ArgsRange = SourceRange(Args.front()->getLocStart(),
7110 Args.back()->getLocEnd());
7113 assert(Args.size() == 1 &&
7115 InitListExpr *InitList = cast<InitListExpr>(Args[0]);
7116 Args = MultiExprArg(InitList->getInits(), InitList->getNumInits());
7125 FailedCandidateSet.NoteCandidates(S, OCD_ViableCandidates, Args);
7173 FailedCandidateSet.NoteCandidates(S, OCD_AllCandidates, Args);
7236 InitListExpr *InitList = cast<InitListExpr>(Args[0]);
7248 << Args[0]->getSourceRange();