Home
last modified time | relevance | path

Searched refs:DiagD (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSema.cpp833 const FunctionDecl *DiagD; in ActOnEndOfTranslationUnit() local
834 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 …]
/external/llvm-project/clang/lib/Sema/
DSema.cpp1204 const FunctionDecl *DiagD; in ActOnEndOfTranslationUnit() local
1205 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 …]