Home | History | Annotate | Download | only in Sema

Lines Matching refs:InitDecl

2779 static void diagnoseMissingConstinit(Sema &S, const VarDecl *InitDecl,
2782 SourceLocation InsertLoc = InitDecl->getInnerLocStart();
2815 S.Diag(InitDecl->getLocation(), diag::ext_constinit_missing)
2816 << InitDecl << FixItHint::CreateInsertion(InsertLoc, SuitableSpelling);
2825 S.Diag(InitDecl->getLocation(), diag::note_constinit_missing_here)
2859 const VarDecl *InitDecl = OldVD->getInitializingDeclaration();
2860 if (!InitDecl &&
2862 InitDecl = NewVD;
2864 if (InitDecl == NewVD) {
2875 if (InitDecl && InitDecl != NewVD) {
2876 diagnoseMissingConstinit(*this, InitDecl, NewConstInit,