Lines Matching defs:InitList
3091 InitListExpr *InitList,
3361 InitListExpr *InitList = nullptr);
3367 InitListExpr *InitList,
3386 if (InitList->getNumInits() == 1) {
3387 Expr *Initializer = InitList->getInit(0);
3407 Sequence.RewrapReferenceInitList(cv1T1, InitList);
3413 Sequence.RewrapReferenceInitList(cv1T1, InitList);
3419 TryListInitialization(S, TempEntity, Kind, InitList, Sequence);
3434 InitListExpr *InitList,
3441 !DestType->isAnyComplexType() && InitList->getNumInits() > 1) {
3446 TryReferenceListInitialization(S, Entity, Kind, InitList, Sequence);
3450 if (S.RequireCompleteType(InitList->getLocStart(), DestType, 0)) {
3462 if (InitList->getNumInits() == 0) {
3465 TryValueInitialization(S, Entity, Kind, Sequence, InitList);
3472 if (TryInitializerListConstruction(S, InitList, DestType, Sequence))
3476 Expr *InitListAsExpr = InitList;
3486 InitList->getNumInits() == 1 &&
3487 InitList->getInit(0)->getType()->isRecordType()) {
3502 InitList->getLBraceLoc(),
3503 InitList->getRBraceLoc())
3505 Expr *SubInit[1] = { InitList->getInit(0) };
3509 Sequence.RewrapReferenceInitList(Entity.getType(), InitList);
3513 InitListChecker CheckInitList(S, Entity, InitList,
4052 InitListExpr *InitList) {
4053 assert((!InitList || InitList->getNumInits() == 0) &&
4113 Expr *InitListAsExpr = InitList;
4114 MultiExprArg Args(&InitListAsExpr, InitList ? 1 : 0);
4115 bool InitListSyntax = InitList;
4597 if (InitListExpr *InitList = dyn_cast_or_null<InitListExpr>(Initializer)) {
4598 TryListInitialization(S, Entity, Kind, InitList, *this);
6078 InitListExpr *InitList = cast<InitListExpr>(CurInit.get());
6086 InitList, Ty, /*VerifyOnly=*/false);
6123 InitListExpr *InitList = cast<InitListExpr>(Args[0]);
6124 S.Diag(InitList->getExprLoc(), diag::warn_cxx98_compat_ctor_list_init)
6125 << InitList->getSourceRange();
6126 MultiExprArg Arg(InitList->getInits(), InitList->getNumInits());
6132 InitList->getLBraceLoc(),
6133 InitList->getRBraceLoc());
6416 InitListExpr *InitList) {
6424 InitList->getNumInits()),
6428 return diagnoseListInit(S, HiddenArray, InitList);
6431 InitListChecker DiagnoseInitList(S, Entity, InitList, DestType,
6621 if (InitListExpr *InitList = dyn_cast<InitListExpr>(Args[0]))
6622 R = SourceRange(InitList->getInit(0)->getLocEnd(),
6623 InitList->getLocEnd());
6657 InitListExpr *InitList = cast<InitListExpr>(Args[0]);
6658 Args = MultiExprArg(InitList->getInits(), InitList->getNumInits());
6778 InitListExpr *InitList = cast<InitListExpr>(Args[0]);
6779 diagnoseListInit(S, Entity, InitList);