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

References

tools/clang/lib/Sema/SemaInit.cpp
  740   assert((ILE->getType() != SemaRef.Context.VoidTy) &&
  766   if (ILE->isTransparent())
  769   if (const RecordType *RType = ILE->getType()->getAs<RecordType>()) {
  771     if (RDecl->isUnion() && ILE->getInitializedFieldInUnion())
  772       FillInEmptyInitForField(0, ILE->getInitializedFieldInUnion(),
  773                               Entity, ILE, RequiresSecondPass, FillWithNoInit);
  778           FillInEmptyInitForField(0, Field, Entity, ILE, RequiresSecondPass,
  787       unsigned NumElems = numStructUnionElements(ILE->getType());
  790       if (!VerifyOnly && ILE->getNumInits() < NumElems)
  791         ILE->resizeInits(SemaRef.Context, NumElems);
  800           FillInEmptyInitForBase(Init, Base, Entity, ILE, RequiresSecondPass,
  813         FillInEmptyInitForField(Init, Field, Entity, ILE, RequiresSecondPass,
  832   unsigned NumInits = ILE->getNumInits();
  834   if (const ArrayType *AType = SemaRef.Context.getAsArrayType(ILE->getType())) {
  844   } else if (const VectorType *VType = ILE->getType()->getAs<VectorType>()) {
  850     ElementType = ILE->getType();
  861     if (Init >= NumInits && (ILE->hasArrayFiller() || SkipEmptyInitChecks))
  864     Expr *InitExpr = (Init < NumInits ? ILE->getInit(Init) : nullptr);
  865     if (!InitExpr && Init < NumInits && ILE->hasArrayFiller())
  866       ILE->setInit(Init, ILE->getArrayFiller());
  866       ILE->setInit(Init, ILE->getArrayFiller());
  867     else if (!InitExpr && !ILE->hasArrayFiller()) {
  879             PerformEmptyInit(ILE->getEndLoc(), ElementEntity);
  896           ILE->setArrayFiller(Filler);
  898           ILE->setInit(Init, Filler);
  903           ILE->setArrayFiller(Filler);
  912           ILE->updateInit(SemaRef.Context, Init, Filler);
  919                                  ILE, Init, FillWithNoInit);
  923                                  RequiresSecondPass, ILE, Init,