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

References

tools/clang/lib/Sema/SemaInit.cpp
 2009   if (DeclType->isUnionType() && IList->getNumInits() == 0) {
 2015         if (checkDestructorReference(ET, IList->getEndLoc(), SemaRef)) {
 2043             IList->getEndLoc());
 2056     Expr *Init = Index < IList->getNumInits() ? IList->getInit(Index) : nullptr;
 2056     Expr *Init = Index < IList->getNumInits() ? IList->getInit(Index) : nullptr;
 2063     SourceLocation InitLoc = Init ? Init->getBeginLoc() : IList->getEndLoc();
 2067       CheckSubElementType(BaseEntity, IList, Base.getType(), Index,
 2088     !IList->isIdiomaticZeroInitializer(SemaRef.getLangOpts());
 2091   while (Index < IList->getNumInits()) {
 2092     Expr *Init = IList->getInit(Index);
 2106       if (CheckDesignatedInitializer(Entity, IList, DIE, 0,
 2156           *Field, IList->getInit(Index)->getBeginLoc());
 2174     CheckSubElementType(MemberEntity, IList, Field->getType(), Index,
 2195         SemaRef.Diag(IList->getSourceRange().getEnd(),
 2210             IList->getEndLoc());
 2222       if (checkDestructorReference(ET, IList->getEndLoc(), SemaRef)) {
 2230       Index >= IList->getNumInits())
 2233   if (CheckFlexibleArrayInit(Entity, IList->getInit(Index), *Field,
 2243   if (isa<InitListExpr>(IList->getInit(Index)))
 2244     CheckSubElementType(MemberEntity, IList, Field->getType(), Index,
 2247     CheckImplicitInitList(MemberEntity, IList, Field->getType(), Index,