reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaInit.cpp
 2382       if (StructuredList) {
 2386         UpdateStructuredListElement(StructuredList, StructuredIndex,
 2403                         StructuredList, StructuredIndex);
 2416   if (IsFirstDesignator ? FullyStructuredList : StructuredList) {
 2420       StructuredList = FullyStructuredList;
 2422       Expr *ExistingInit = StructuredIndex < StructuredList->getNumInits() ?
 2423           StructuredList->getInit(StructuredIndex) : nullptr;
 2424       if (!ExistingInit && StructuredList->hasArrayFiller())
 2425         ExistingInit = StructuredList->getArrayFiller();
 2428         StructuredList = getStructuredSubobjectInit(
 2429             IList, Index, CurrentObjectType, StructuredList, StructuredIndex,
 2432         StructuredList = Result;
 2452             StructuredList = E->getUpdater();
 2457             StructuredList->updateInit(SemaRef.Context, StructuredIndex, DIUE);
 2458             StructuredList = DIUE->getUpdater();
 2466           StructuredList = nullptr;
 2575       if (StructuredList) {
 2576         FieldDecl *CurrentField = StructuredList->getInitializedFieldInUnion();
 2578           assert(StructuredList->getNumInits() == 1
 2581           Expr *ExistingInit = StructuredList->getInit(0);
 2589           StructuredList->resizeInits(SemaRef.Context, 0);
 2590           StructuredList->setInitializedFieldInUnion(nullptr);
 2593         StructuredList->setInitializedFieldInUnion(*Field);
 2645         if (StructuredList && OldIndex <= StructuredList->getNumInits()) {
 2645         if (StructuredList && OldIndex <= StructuredList->getNumInits()) {
 2646           if (Expr *PrevInit = StructuredList->getInit(OldIndex)) {
 2662     if (StructuredList && FieldIndex >= StructuredList->getNumInits())
 2662     if (StructuredList && FieldIndex >= StructuredList->getNumInits())
 2663       StructuredList->resizeInits(SemaRef.Context, FieldIndex + 1);
 2715                           StructuredList, newStructuredIndex);
 2735                                      StructuredList, newStructuredIndex,
 2768                           false, Index, StructuredList, FieldIndex);
 2850       StructuredList && StructuredList->isStringLiteralInit();
 2850       StructuredList && StructuredList->isStringLiteralInit();
 2854     StructuredList = nullptr;
 2859     Expr *SubExpr = StructuredList->getInit(0)->IgnoreParens();
 2875       StructuredList->resizeInits(Context, StrLen);
 2886         StructuredList->updateInit(Context, i, Init);
 2897       StructuredList->resizeInits(Context, StrLen);
 2908         StructuredList->updateInit(Context, i, Init);
 2915   if (StructuredList &&
 2916       DesignatedEndIndex.getZExtValue() >= StructuredList->getNumInits())
 2917     StructuredList->resizeInits(SemaRef.Context,
 2938             nullptr, Index, StructuredList, ElementIndex,
 2964                  StructuredList, ElementIndex);