summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-12 10:55:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-12 10:55:45 +0200
commit24ccdd63b7a290a830bd15e552cc25c1981efeb0 (patch)
tree683feac3aecc18ed1bb14509e07d5777a983ae7e /compilerplugins
parent4a2a03ff08ffd5e490e8d0bb1f27bb4d94c3c8ed (diff)
loplugin:useuniquptr: Remove no longer needed blacklist entries
Change-Id: Ib372d93c5a6e7550ad0d3dc1017fe49d9059146c
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/useuniqueptr.cxx7
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;