Home
last modified time | relevance | path

Searched refs:PrevInit (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaDeclCXX.cpp4098 CXXCtorInitializer *PrevInit = nullptr; in DiagnoseBaseOrMemInitializerOrder() local
4112 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() argument
4144 if (!PrevInit) { in CheckRedundantInit()
4145 PrevInit = Init; in CheckRedundantInit()
[all …]
DSemaInit.cpp2704 if (Expr *PrevInit = StructuredList->updateInit(SemaRef.Context, in UpdateStructuredListElement() local
2713 if (PrevInit->getSourceRange().isValid()) { in UpdateStructuredListElement()
2718 SemaRef.Diag(PrevInit->getLocStart(), in UpdateStructuredListElement()
2721 << PrevInit->getSourceRange(); in UpdateStructuredListElement()