Searched refs:DiagD (Results 1 – 1 of 1) sorted by relevance
797 const FunctionDecl *DiagD; in ActOnEndOfTranslationUnit() local798 if (!FD->hasBody(DiagD)) in ActOnEndOfTranslationUnit()799 DiagD = FD; in ActOnEndOfTranslationUnit()800 if (DiagD->isDeleted()) in ActOnEndOfTranslationUnit()802 if (DiagD->isReferenced()) { in ActOnEndOfTranslationUnit()803 if (isa<CXXMethodDecl>(DiagD)) in ActOnEndOfTranslationUnit()804 Diag(DiagD->getLocation(), diag::warn_unneeded_member_function) in ActOnEndOfTranslationUnit()805 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()811 Diag(DiagD->getLocation(), in ActOnEndOfTranslationUnit()813 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()[all …]