Searched refs:DiagD (Results 1 – 2 of 2) sorted by relevance
833 const FunctionDecl *DiagD; in ActOnEndOfTranslationUnit() local834 if (!FD->hasBody(DiagD)) in ActOnEndOfTranslationUnit()835 DiagD = FD; in ActOnEndOfTranslationUnit()836 if (DiagD->isDeleted()) in ActOnEndOfTranslationUnit()838 if (DiagD->isReferenced()) { in ActOnEndOfTranslationUnit()839 if (isa<CXXMethodDecl>(DiagD)) in ActOnEndOfTranslationUnit()840 Diag(DiagD->getLocation(), diag::warn_unneeded_member_function) in ActOnEndOfTranslationUnit()841 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()847 Diag(DiagD->getLocation(), in ActOnEndOfTranslationUnit()849 << DiagD->getDeclName(); in ActOnEndOfTranslationUnit()[all …]
1204 const FunctionDecl *DiagD; in ActOnEndOfTranslationUnit() local1205 if (!FD->hasBody(DiagD)) in ActOnEndOfTranslationUnit()1206 DiagD = FD; in ActOnEndOfTranslationUnit()1207 if (DiagD->isDeleted()) in ActOnEndOfTranslationUnit()1209 if (DiagD->isReferenced()) { in ActOnEndOfTranslationUnit()1210 if (isa<CXXMethodDecl>(DiagD)) in ActOnEndOfTranslationUnit()1211 Diag(DiagD->getLocation(), diag::warn_unneeded_member_function) in ActOnEndOfTranslationUnit()1212 << DiagD; in ActOnEndOfTranslationUnit()1218 Diag(DiagD->getLocation(), in ActOnEndOfTranslationUnit()1220 << DiagD; in ActOnEndOfTranslationUnit()[all …]