[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann sbergman at redhat.com
Wed Apr 12 08:56:13 UTC 2017


 compilerplugins/clang/useuniqueptr.cxx |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 24ccdd63b7a290a830bd15e552cc25c1981efeb0
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Apr 12 10:55:45 2017 +0200

    loplugin:useuniquptr: Remove no longer needed blacklist entries
    
    Change-Id: Ib372d93c5a6e7550ad0d3dc1017fe49d9059146c

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;


More information about the Libreoffice-commits mailing list