Lines Matching refs:StructuredList

244                              unsigned &Index, InitListExpr *StructuredList,
248 InitListExpr *StructuredList,
254 InitListExpr *StructuredList,
260 InitListExpr *StructuredList,
265 InitListExpr *StructuredList,
270 InitListExpr *StructuredList,
275 InitListExpr *StructuredList,
279 InitListExpr *StructuredList,
285 InitListExpr *StructuredList,
292 InitListExpr *StructuredList,
301 InitListExpr *StructuredList,
307 InitListExpr *StructuredList,
311 void UpdateStructuredListElement(InitListExpr *StructuredList,
765 InitListExpr *StructuredList, in CheckImplicitInitList() argument
789 = getStructuredSubobjectInit(ParentIList, Index, T, StructuredList, in CheckImplicitInitList()
899 InitListExpr *StructuredList, in CheckExplicitInitList() argument
902 SyntacticToSemantic[IList] = StructuredList; in CheckExplicitInitList()
903 StructuredList->setSyntacticForm(IList); in CheckExplicitInitList()
908 Index, StructuredList, StructuredIndex, TopLevelObject); in CheckExplicitInitList()
914 StructuredList->setType(ExprTy); in CheckExplicitInitList()
931 IsStringInit(StructuredList->getInit(0), T, SemaRef.Context) == in CheckExplicitInitList()
944 QualType CurrentObjectType = StructuredList->getType(); in CheckExplicitInitList()
977 InitListExpr *StructuredList, in CheckListElementTypes() argument
984 StructuredList, StructuredIndex); in CheckListElementTypes()
987 StructuredList, StructuredIndex); in CheckListElementTypes()
990 StructuredList, StructuredIndex); in CheckListElementTypes()
997 StructuredList, StructuredIndex, in CheckListElementTypes()
1005 StructuredList, StructuredIndex); in CheckListElementTypes()
1015 StructuredList, StructuredIndex); in CheckListElementTypes()
1033 InitListExpr *StructuredList, in CheckSubElementType() argument
1039 StructuredList, StructuredIndex); in CheckSubElementType()
1049 StructuredList, StructuredIndex, in CheckSubElementType()
1073 UpdateStructuredListElement(StructuredList, StructuredIndex, expr); in CheckSubElementType()
1102 UpdateStructuredListElement(StructuredList, StructuredIndex, in CheckSubElementType()
1114 StructuredList, StructuredIndex); in CheckSubElementType()
1124 UpdateStructuredListElement(StructuredList, StructuredIndex, expr); in CheckSubElementType()
1154 UpdateStructuredListElement(StructuredList, StructuredIndex, in CheckSubElementType()
1171 CheckImplicitInitList(Entity, IList, ElemType, Index, StructuredList, in CheckSubElementType()
1190 InitListExpr *StructuredList, in CheckComplexType() argument
1202 return CheckScalarType(Entity, IList, DeclType, Index, StructuredList, in CheckComplexType()
1219 StructuredList, StructuredIndex); in CheckComplexType()
1227 InitListExpr *StructuredList, in CheckScalarType() argument
1251 CheckScalarType(Entity, SubIList, DeclType, Index, StructuredList, in CheckScalarType()
1291 UpdateStructuredListElement(StructuredList, StructuredIndex, ResultExpr); in CheckScalarType()
1298 InitListExpr *StructuredList, in CheckReferenceType() argument
1347 UpdateStructuredListElement(StructuredList, StructuredIndex, expr); in CheckReferenceType()
1354 InitListExpr *StructuredList, in CheckVectorType() argument
1400 UpdateStructuredListElement(StructuredList, StructuredIndex, in CheckVectorType()
1419 StructuredList, StructuredIndex); in CheckVectorType()
1478 StructuredList, StructuredIndex); in CheckVectorType()
1491 StructuredList, StructuredIndex); in CheckVectorType()
1511 InitListExpr *StructuredList, in CheckArrayType() argument
1526 UpdateStructuredListElement(StructuredList, StructuredIndex, in CheckArrayType()
1528 StructuredList->resizeInits(SemaRef.Context, StructuredIndex); in CheckArrayType()
1573 StructuredList, StructuredIndex, true, in CheckArrayType()
1603 StructuredList, StructuredIndex); in CheckArrayType()
1681 InitListExpr *StructuredList, in CheckStructUnionTypes() argument
1705 StructuredList->setInitializedFieldInUnion(*Field); in CheckStructUnionTypes()
1722 StructuredList->setInitializedFieldInUnion(*Field); in CheckStructUnionTypes()
1751 StructuredList, StructuredIndex, in CheckStructUnionTypes()
1799 StructuredList, StructuredIndex); in CheckStructUnionTypes()
1804 StructuredList->setInitializedFieldInUnion(*Field); in CheckStructUnionTypes()
1854 StructuredList, StructuredIndex); in CheckStructUnionTypes()
1857 StructuredList, StructuredIndex); in CheckStructUnionTypes()
1968 InitListExpr *StructuredList, in CheckDesignatedInitializer() argument
1983 StructuredList, StructuredIndex); in CheckDesignatedInitializer()
1997 assert((IsFirstDesignator || StructuredList) && in CheckDesignatedInitializer()
2003 StructuredList = SyntacticToSemantic.lookup(IList); in CheckDesignatedInitializer()
2005 Expr *ExistingInit = StructuredIndex < StructuredList->getNumInits() ? in CheckDesignatedInitializer()
2006 StructuredList->getInit(StructuredIndex) : nullptr; in CheckDesignatedInitializer()
2007 if (!ExistingInit && StructuredList->hasArrayFiller()) in CheckDesignatedInitializer()
2008 ExistingInit = StructuredList->getArrayFiller(); in CheckDesignatedInitializer()
2011 StructuredList = in CheckDesignatedInitializer()
2013 StructuredList, StructuredIndex, in CheckDesignatedInitializer()
2017 StructuredList = Result; in CheckDesignatedInitializer()
2021 StructuredList = E->getUpdater(); in CheckDesignatedInitializer()
2027 StructuredList->updateInit(SemaRef.Context, StructuredIndex, DIUE); in CheckDesignatedInitializer()
2028 StructuredList = DIUE->getUpdater(); in CheckDesignatedInitializer()
2062 assert(StructuredList && "Expected a structured initializer list"); in CheckDesignatedInitializer()
2162 FieldDecl *CurrentField = StructuredList->getInitializedFieldInUnion(); in CheckDesignatedInitializer()
2164 assert(StructuredList->getNumInits() == 1 in CheckDesignatedInitializer()
2171 Expr *ExistingInit = StructuredList->getInit(0); in CheckDesignatedInitializer()
2178 StructuredList->resizeInits(SemaRef.Context, 0); in CheckDesignatedInitializer()
2179 StructuredList->setInitializedFieldInUnion(nullptr); in CheckDesignatedInitializer()
2182 StructuredList->setInitializedFieldInUnion(*Field); in CheckDesignatedInitializer()
2203 if (FieldIndex >= StructuredList->getNumInits()) in CheckDesignatedInitializer()
2204 StructuredList->resizeInits(SemaRef.Context, FieldIndex + 1); in CheckDesignatedInitializer()
2258 StructuredList, newStructuredIndex); in CheckDesignatedInitializer()
2278 StructuredList, newStructuredIndex, in CheckDesignatedInitializer()
2308 StructuredList, FieldIndex); in CheckDesignatedInitializer()
2389 if (!VerifyOnly && StructuredList->isStringLiteralInit()) { in CheckDesignatedInitializer()
2393 Expr *SubExpr = StructuredList->getInit(0)->IgnoreParens(); in CheckDesignatedInitializer()
2409 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer()
2420 StructuredList->updateInit(Context, i, Init); in CheckDesignatedInitializer()
2431 StructuredList->resizeInits(Context, StrLen); in CheckDesignatedInitializer()
2442 StructuredList->updateInit(Context, i, Init); in CheckDesignatedInitializer()
2450 DesignatedEndIndex.getZExtValue() >= StructuredList->getNumInits()) in CheckDesignatedInitializer()
2451 StructuredList->resizeInits(SemaRef.Context, in CheckDesignatedInitializer()
2472 StructuredList, ElementIndex, in CheckDesignatedInitializer()
2498 StructuredList, ElementIndex); in CheckDesignatedInitializer()
2507 InitListExpr *StructuredList, in getStructuredSubobjectInit() argument
2514 if (!StructuredList) in getStructuredSubobjectInit()
2516 else if (StructuredIndex < StructuredList->getNumInits()) in getStructuredSubobjectInit()
2517 ExistingInit = StructuredList->getInit(StructuredIndex); in getStructuredSubobjectInit()
2566 if (!StructuredList) { in getStructuredSubobjectInit()
2599 if (StructuredList) in getStructuredSubobjectInit()
2600 StructuredList->updateInit(SemaRef.Context, StructuredIndex, Result); in getStructuredSubobjectInit()
2611 void InitListChecker::UpdateStructuredListElement(InitListExpr *StructuredList, in UpdateStructuredListElement() argument
2615 if (!StructuredList) in UpdateStructuredListElement()
2618 if (Expr *PrevInit = StructuredList->updateInit(SemaRef.Context, in UpdateStructuredListElement()