Lines Matching refs:getNumInits

487   unsigned NumInits = ILE->getNumInits();  in FillInEmptyInitForField()
599 if (ILE->getNumInits() < NumFields) in FillInEmptyInitializations()
629 unsigned NumInits = ILE->getNumInits(); in FillInEmptyInitializations()
808 if (EndIndex < ParentIList->getNumInits() && in CheckImplicitInitList()
919 if (Index < IList->getNumInits()) { in CheckExplicitInitList()
968 IList->getNumInits() == 1 && !isa<InitListExpr>(IList->getInit(0))) in CheckExplicitInitList()
1042 if (SubInitList->getNumInits() == 1 && in CheckSubElementType()
1201 if (IList->getNumInits() != 2) in CheckComplexType()
1229 if (Index >= IList->getNumInits()) { in CheckScalarType()
1300 if (Index >= IList->getNumInits()) { in CheckReferenceType()
1361 if (Index >= IList->getNumInits()) { in CheckVectorType()
1411 if (Index >= IList->getNumInits()) { in CheckVectorType()
1470 if (Index >= IList->getNumInits()) in CheckVectorType()
1516 if (Index < IList->getNumInits()) { in CheckArrayType()
1560 while (Index < IList->getNumInits()) { in CheckArrayType()
1643 cast<InitListExpr>(InitExpr)->getNumInits() == 0) { in CheckFlexibleArrayInit()
1695 if (DeclType->isUnionType() && IList->getNumInits() == 0) { in CheckStructUnionTypes()
1737 while (Index < IList->getNumInits()) { in CheckStructUnionTypes()
1839 Index >= IList->getNumInits()) in CheckStructUnionTypes()
2005 Expr *ExistingInit = StructuredIndex < StructuredList->getNumInits() ? in CheckDesignatedInitializer()
2164 assert(StructuredList->getNumInits() == 1 in CheckDesignatedInitializer()
2203 if (FieldIndex >= StructuredList->getNumInits()) in CheckDesignatedInitializer()
2450 DesignatedEndIndex.getZExtValue() >= StructuredList->getNumInits()) in CheckDesignatedInitializer()
2516 else if (StructuredIndex < StructuredList->getNumInits()) in getStructuredSubobjectInit()
2567 NumInits = IList->getNumInits(); in getStructuredSubobjectInit()
2569 } else if (Index < IList->getNumInits()) { in getStructuredSubobjectInit()
2571 NumInits = SubList->getNumInits(); in getStructuredSubobjectInit()
3239 assert(Syntactic->getNumInits() == 1 && in RewrapReferenceInitList()
3339 List->getNumInits()), in TryInitializerListConstruction()
3484 if (ILE->getNumInits() != 0 || !DestRecordDecl->hasDefaultConstructor()) in TryConstructorInitialization()
3492 Args = MultiExprArg(ILE->getInits(), ILE->getNumInits()); in TryConstructorInitialization()
3617 if (InitList->getNumInits() == 1) { in TryReferenceListInitialization()
3672 !DestType->isAnyComplexType() && InitList->getNumInits() > 1) { in TryListInitialization()
3698 if (S.getLangOpts().CPlusPlus11 && InitList->getNumInits() == 1) { in TryListInitialization()
3743 if (InitList->getNumInits() == 0) { in TryListInitialization()
3766 InitList->getNumInits() == 1 && in TryListInitialization()
4325 assert((!InitList || InitList->getNumInits() == 0) && in TryValueInitialization()
5812 if (ILE->getNumInits() == 1 && ILE->isGLValue()) { in performReferenceExtension()
5869 for (unsigned I = 0, N = ILE->getNumInits(); I != N; ++I) in performLifetimeExtension()
5886 if (Index >= ILE->getNumInits()) in performLifetimeExtension()
6542 MultiExprArg Arg(InitList->getInits(), InitList->getNumInits()); in Perform()
6852 InitList->getNumInits()), in diagnoseListInit()
7078 if (InitList && InitList->getNumInits() >= 1) { in Diagnose()
7116 Args = MultiExprArg(InitList->getInits(), InitList->getNumInits()); in Diagnose()