Lines Matching refs:ExistingInit
2005 Expr *ExistingInit = StructuredIndex < StructuredList->getNumInits() ? in CheckDesignatedInitializer() local
2007 if (!ExistingInit && StructuredList->hasArrayFiller()) in CheckDesignatedInitializer()
2008 ExistingInit = StructuredList->getArrayFiller(); in CheckDesignatedInitializer()
2010 if (!ExistingInit) in CheckDesignatedInitializer()
2016 else if (InitListExpr *Result = dyn_cast<InitListExpr>(ExistingInit)) in CheckDesignatedInitializer()
2020 dyn_cast<DesignatedInitUpdateExpr>(ExistingInit)) in CheckDesignatedInitializer()
2025 D->getLocStart(), ExistingInit, in CheckDesignatedInitializer()
2039 if (ExistingInit->getSourceRange().isValid()) { in CheckDesignatedInitializer()
2055 SemaRef.Diag(ExistingInit->getLocStart(), in CheckDesignatedInitializer()
2058 << ExistingInit->getSourceRange(); in CheckDesignatedInitializer()
2171 Expr *ExistingInit = StructuredList->getInit(0); in CheckDesignatedInitializer() local
2172 SemaRef.Diag(ExistingInit->getLocStart(), in CheckDesignatedInitializer()
2175 << ExistingInit->getSourceRange(); in CheckDesignatedInitializer()
2513 Expr *ExistingInit = nullptr; in getStructuredSubobjectInit() local
2515 ExistingInit = SyntacticToSemantic.lookup(IList); in getStructuredSubobjectInit()
2517 ExistingInit = StructuredList->getInit(StructuredIndex); in getStructuredSubobjectInit()
2519 if (InitListExpr *Result = dyn_cast_or_null<InitListExpr>(ExistingInit)) in getStructuredSubobjectInit()
2531 if (ExistingInit) { in getStructuredSubobjectInit()
2546 SemaRef.Diag(ExistingInit->getLocStart(), in getStructuredSubobjectInit()
2549 << ExistingInit->getSourceRange(); in getStructuredSubobjectInit()