Lines Matching defs:InitDecl
3025 static void diagnoseMissingConstinit(Sema &S, const VarDecl *InitDecl,
3028 SourceLocation InsertLoc = InitDecl->getInnerLocStart();
3061 S.Diag(InitDecl->getLocation(), diag::ext_constinit_missing)
3062 << InitDecl << FixItHint::CreateInsertion(InsertLoc, SuitableSpelling);
3071 S.Diag(InitDecl->getLocation(), diag::note_constinit_missing_here)
3104 const VarDecl *InitDecl = OldVD->getInitializingDeclaration();
3105 if (!InitDecl &&
3107 InitDecl = NewVD;
3109 if (InitDecl == NewVD) {
3120 if (InitDecl && InitDecl != NewVD) {
3121 diagnoseMissingConstinit(*this, InitDecl, NewConstInit,