Lines Matching refs:Destructor
4439 // copy/move constructor and/or destructor for the object have
5059 CXXDestructorDecl *Destructor
5061 S.CheckDestructorAccess(CurInit.get()->getLocStart(), Destructor,
5063 S.MarkFunctionReferenced(CurInit.get()->getLocStart(), Destructor);
5064 S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getLocStart());
5320 // If the element type has a destructor, check it.
5323 if (CXXDestructorDecl *Destructor = S.LookupDestructor(RD)) {
5324 S.MarkFunctionReferenced(Kind.getLocation(), Destructor);
5325 S.CheckDestructorAccess(Kind.getLocation(), Destructor,
5327 S.DiagnoseUseOfDecl(Destructor, Kind.getLocation());