Lines Matching refs:InitList
3839 InitListExpr *InitList,
4218 InitListExpr *InitList = nullptr);
4224 InitListExpr *InitList, in TryReferenceListInitialization() argument
4249 if (InitList->getNumInits() == 1) { in TryReferenceListInitialization()
4250 Expr *Initializer = InitList->getInit(0); in TryReferenceListInitialization()
4268 Sequence.RewrapReferenceInitList(cv1T1, InitList); in TryReferenceListInitialization()
4274 Sequence.RewrapReferenceInitList(cv1T1, InitList); in TryReferenceListInitialization()
4280 TryListInitialization(S, TempEntity, Kind, InitList, Sequence, in TryReferenceListInitialization()
4296 InitListExpr *InitList, in TryListInitialization() argument
4304 !DestType->isAnyComplexType() && InitList->getNumInits() > 1) { in TryListInitialization()
4309 TryReferenceListInitialization(S, Entity, Kind, InitList, Sequence, in TryListInitialization()
4315 !S.isCompleteType(InitList->getBeginLoc(), DestType)) { in TryListInitialization()
4331 if (S.getLangOpts().CPlusPlus11 && InitList->getNumInits() == 1) { in TryListInitialization()
4333 QualType InitType = InitList->getInit(0)->getType(); in TryListInitialization()
4335 S.IsDerivedFrom(InitList->getBeginLoc(), InitType, DestType)) { in TryListInitialization()
4336 Expr *InitListAsExpr = InitList; in TryListInitialization()
4345 Expr *SubInit[1] = {InitList->getInit(0)}; in TryListInitialization()
4351 InitList->getLBraceLoc(), in TryListInitialization()
4352 InitList->getRBraceLoc()) in TryListInitialization()
4362 Sequence.RewrapReferenceInitList(Entity.getType(), InitList); in TryListInitialization()
4378 if (InitList->getNumInits() == 0) { in TryListInitialization()
4381 TryValueInitialization(S, Entity, Kind, Sequence, InitList); in TryListInitialization()
4388 if (TryInitializerListConstruction(S, InitList, DestType, Sequence, in TryListInitialization()
4393 Expr *InitListAsExpr = InitList; in TryListInitialization()
4402 InitList->getNumInits() == 1) { in TryListInitialization()
4403 Expr *E = InitList->getInit(0); in TryListInitialization()
4442 Sequence.RewrapReferenceInitList(Entity.getType(), InitList); in TryListInitialization()
4461 Expr *Init = InitList->getInit(0); in TryListInitialization()
4467 InitList->getLBraceLoc(), in TryListInitialization()
4468 InitList->getRBraceLoc()) in TryListInitialization()
4475 Sequence.RewrapReferenceInitList(Entity.getType(), InitList); in TryListInitialization()
4480 InitListChecker CheckInitList(S, Entity, InitList, in TryListInitialization()
5050 InitListExpr *InitList) { in TryValueInitialization() argument
5051 assert((!InitList || InitList->getNumInits() == 0) && in TryValueInitialization()
5109 Expr *InitListAsExpr = InitList; in TryValueInitialization()
5110 MultiExprArg Args(&InitListAsExpr, InitList ? 1 : 0); in TryValueInitialization()
5111 bool InitListSyntax = InitList; in TryValueInitialization()
5683 if (InitListExpr *InitList = dyn_cast_or_null<InitListExpr>(Initializer)) { in InitializeFrom() local
5684 TryListInitialization(S, Entity, Kind, InitList, *this, in InitializeFrom()
8087 S, EnterExpressionEvaluationContext::InitList, in Perform()
8374 InitListExpr *InitList = cast<InitListExpr>(CurInit.get()); in Perform() local
8382 InitList, Ty, /*VerifyOnly=*/false, in Perform()
8423 InitListExpr *InitList = cast<InitListExpr>(Args[0]); in Perform() local
8424 S.Diag(InitList->getExprLoc(), diag::warn_cxx98_compat_ctor_list_init) in Perform()
8425 << InitList->getSourceRange(); in Perform()
8426 MultiExprArg Arg(InitList->getInits(), InitList->getNumInits()); in Perform()
8433 InitList->getLBraceLoc(), in Perform()
8434 InitList->getRBraceLoc()); in Perform()
8847 InitListExpr *InitList) { in diagnoseListInit() argument
8855 InitList->getNumInits()), in diagnoseListInit()
8859 return diagnoseListInit(S, HiddenArray, InitList); in diagnoseListInit()
8867 diagnoseListInit(S, InitializedEntity::InitializeTemporary(T), InitList); in diagnoseListInit()
8868 SourceLocation Loc = InitList->getBeginLoc(); in diagnoseListInit()
8875 InitListChecker DiagnoseInitList(S, Entity, InitList, DestType, in diagnoseListInit()
9153 auto *InitList = dyn_cast<InitListExpr>(Args[0]); in Diagnose() local
9154 if (InitList && InitList->getNumInits() >= 1) { in Diagnose()
9155 R = SourceRange(InitList->getInit(0)->getEndLoc(), InitList->getEndLoc()); in Diagnose()
9196 InitListExpr *InitList = cast<InitListExpr>(Args[0]); in Diagnose() local
9197 Args = MultiExprArg(InitList->getInits(), InitList->getNumInits()); in Diagnose()
9325 InitListExpr *InitList = cast<InitListExpr>(Args[0]); in Diagnose() local
9326 diagnoseListInit(S, Entity, InitList); in Diagnose()