Lines Matching refs:Dtor
1847 if (auto *Dtor = dyn_cast<CXXDestructorDecl>(NewFD)) {
1852 !Dtor->getParent()->defaultedDestructorIsConstexpr()) {
1855 if (!CheckConstexprDestructorSubobjects(*this, Dtor, Kind))
5208 if (CXXDestructorDecl *Dtor = LookupDestructor(Constructor->getParent())) {
5209 MarkFunctionReferenced(Initializer->getSourceLocation(), Dtor);
5210 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation());
5732 CXXDestructorDecl *Dtor = LookupDestructor(FieldClassDecl);
5733 // Dtor might still be missing, e.g because it's invalid.
5734 if (!Dtor)
5736 CheckDestructorAccess(Field->getLocation(), Dtor,
5741 MarkFunctionReferenced(Location, Dtor);
5742 DiagnoseUseOfDecl(Dtor, Location);
5753 CXXDestructorDecl *Dtor = ClassDecl->getDestructor();
5754 if (Dtor && Dtor->isUsed())
5780 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl);
5781 // Dtor might still be missing, e.g because it's invalid.
5782 if (!Dtor)
5786 CheckDestructorAccess(Base.getBeginLoc(), Dtor,
5791 MarkFunctionReferenced(Location, Dtor);
5792 DiagnoseUseOfDecl(Dtor, Location);
5819 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl);
5820 // Dtor might still be missing, e.g because it's invalid.
5821 if (!Dtor)
5824 ClassDecl->getLocation(), Dtor,
5835 MarkFunctionReferenced(Location, Dtor);
5836 DiagnoseUseOfDecl(Dtor, Location);
7093 if (CXXDestructorDecl *Dtor = Record->getDestructor())
7094 CompleteMemberFunction(Dtor);