diff options
-rw-r--r-- | compilerplugins/clang/useuniqueptr.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx index ca568c4bf2ef..9b607ecffea3 100644 --- a/compilerplugins/clang/useuniqueptr.cxx +++ b/compilerplugins/clang/useuniqueptr.cxx @@ -89,16 +89,11 @@ bool UseUniquePtr::VisitCXXDestructorDecl(const CXXDestructorDecl* destructorDec if (aFileName.startswith(WORKDIR)) return true; // weird stuff, passing pointers to internal members of struct - if (aFileName.startswith(SRCDIR "/include/jvmfwk/framework.hxx")) - return true; - if (aFileName.startswith(SRCDIR "/jvmfwk/")) + if (aFileName == SRCDIR "/jvmfwk/source/framework.hxx") return true; // passes and stores pointers to member fields if (aFileName.startswith(SRCDIR "/sot/source/sdstor/stgdir.hxx")) return true; - // passes and stores pointers to member fields - if (aFileName.startswith(SRCDIR "/desktop/source/migration/services/jvmfwk.cxx")) - return true; // something platform-specific if (aFileName.startswith(SRCDIR "/hwpfilter/source/htags.h")) return true; |