Searched refs:DiagDecl (Results 1 – 2 of 2) sorted by relevance
345 const FunctionDecl *DiagDecl = F->getDecl(); in CheckCallable() local349 auto *CD = dyn_cast<CXXConstructorDecl>(DiagDecl); in CheckCallable()353 DiagDecl = CD = Inherited; in CheckCallable()364 << DiagDecl->isConstexpr() << (bool)CD << DiagDecl; in CheckCallable()365 S.Note(DiagDecl->getLocation(), diag::note_declared_at); in CheckCallable()
5559 const FunctionDecl *DiagDecl = Definition ? Definition : Declaration; in CheckConstexprFunction() local5563 auto *CD = dyn_cast<CXXConstructorDecl>(DiagDecl); in CheckConstexprFunction()5567 DiagDecl = CD = Inherited; in CheckConstexprFunction()5578 << DiagDecl->isConstexpr() << (bool)CD << DiagDecl; in CheckConstexprFunction()5579 Info.Note(DiagDecl->getLocation(), diag::note_declared_at); in CheckConstexprFunction()