Searched refs:DiagD (Results 1 – 1 of 1) sorted by relevance
836 const FunctionDecl *DiagD; in ActOnEndOfTranslationUnit() local837 if (!FD->hasBody(DiagD)) in ActOnEndOfTranslationUnit()838 DiagD = FD; in ActOnEndOfTranslationUnit()839 if (DiagD->isDeleted()) in ActOnEndOfTranslationUnit()841 if (DiagD->isReferenced()) { in ActOnEndOfTranslationUnit()842 if (isa<CXXMethodDecl>(DiagD)) in ActOnEndOfTranslationUnit()843 Diag(DiagD->getLocation(), diag::warn_unneeded_member_function) in ActOnEndOfTranslationUnit()844 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()850 Diag(DiagD->getLocation(), in ActOnEndOfTranslationUnit()852 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()[all …]