Searched refs:DiagDecl (Results 1 – 3 of 3) 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()
3877 const FunctionDecl *DiagDecl = Definition ? Definition : Declaration; in CheckConstexprFunction() local3881 auto *CD = dyn_cast<CXXConstructorDecl>(DiagDecl); in CheckConstexprFunction()3885 DiagDecl = CD = Inherited; in CheckConstexprFunction()3896 << DiagDecl->isConstexpr() << (bool)CD << DiagDecl; in CheckConstexprFunction()3897 Info.Note(DiagDecl->getLocation(), diag::note_declared_at); in CheckConstexprFunction()
5466 const FunctionDecl *DiagDecl = Definition ? Definition : Declaration; in CheckConstexprFunction() local5470 auto *CD = dyn_cast<CXXConstructorDecl>(DiagDecl); in CheckConstexprFunction()5474 DiagDecl = CD = Inherited; in CheckConstexprFunction()5485 << DiagDecl->isConstexpr() << (bool)CD << DiagDecl; in CheckConstexprFunction()5486 Info.Note(DiagDecl->getLocation(), diag::note_declared_at); in CheckConstexprFunction()