Lines Matching defs:InitDecl
3043 static void diagnoseMissingConstinit(Sema &S, const VarDecl *InitDecl,
3046 SourceLocation InsertLoc = InitDecl->getInnerLocStart();
3079 S.Diag(InitDecl->getLocation(), diag::ext_constinit_missing)
3080 << InitDecl << FixItHint::CreateInsertion(InsertLoc, SuitableSpelling);
3089 S.Diag(InitDecl->getLocation(), diag::note_constinit_missing_here)
3122 const VarDecl *InitDecl = OldVD->getInitializingDeclaration();
3123 if (!InitDecl &&
3125 InitDecl = NewVD;
3127 if (InitDecl == NewVD) {
3138 if (InitDecl && InitDecl != NewVD) {
3139 diagnoseMissingConstinit(*this, InitDecl, NewConstInit,