Searched refs:PrevInit (Results 1 – 2 of 2) sorted by relevance
4098 CXXCtorInitializer *PrevInit = nullptr; in DiagnoseBaseOrMemInitializerOrder() local4112 if (IdealIndex == NumIdealInits && PrevInit) { in DiagnoseBaseOrMemInitializerOrder()4114 SemaRef.Diag(PrevInit->getSourceLocation(), in DiagnoseBaseOrMemInitializerOrder()4117 if (PrevInit->isAnyMemberInitializer()) in DiagnoseBaseOrMemInitializerOrder()4118 D << 0 << PrevInit->getAnyMember()->getDeclName(); in DiagnoseBaseOrMemInitializerOrder()4120 D << 1 << PrevInit->getTypeSourceInfo()->getType(); in DiagnoseBaseOrMemInitializerOrder()4136 PrevInit = Init; in DiagnoseBaseOrMemInitializerOrder()4143 CXXCtorInitializer *&PrevInit) { in CheckRedundantInit() argument4144 if (!PrevInit) { in CheckRedundantInit()4145 PrevInit = Init; in CheckRedundantInit()[all …]
2704 if (Expr *PrevInit = StructuredList->updateInit(SemaRef.Context, in UpdateStructuredListElement() local2713 if (PrevInit->getSourceRange().isValid()) { in UpdateStructuredListElement()2718 SemaRef.Diag(PrevInit->getLocStart(), in UpdateStructuredListElement()2721 << PrevInit->getSourceRange(); in UpdateStructuredListElement()