Home | History | Annotate | Download | only in Sema

Lines Matching defs:Destructor

4519   //   copy/move constructor and/or destructor for the object have
5201 CXXDestructorDecl *Destructor
5203 S.CheckDestructorAccess(CurInit.get()->getLocStart(), Destructor,
5205 S.MarkFunctionReferenced(CurInit.get()->getLocStart(), Destructor);
5206 S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getLocStart());
5471 // If the element type has a destructor, check it.
5474 if (CXXDestructorDecl *Destructor = S.LookupDestructor(RD)) {
5475 S.MarkFunctionReferenced(Kind.getLocation(), Destructor);
5476 S.CheckDestructorAccess(Kind.getLocation(), Destructor,
5478 S.DiagnoseUseOfDecl(Destructor, Kind.getLocation());