loplugin:useuniqueptr more exclusions

Change-Id: I70c6d4af999965497e23ec8180eb08aa6dc648c5
Reviewed-on: https://gerrit.libreoffice.org/62221
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2018-10-23 09:28:05 +02:00
parent 0ce6100ab6
commit 87e7b4bf4b

View File

@@ -119,6 +119,13 @@ public:
// ZipOutputStream, ownership of ZipEntry is horribly complicated here
if (fn == SRCDIR "/package/source/zipapi/ZipOutputStream.cxx")
return;
// custom deleter
if (fn == SRCDIR "/sal/rtl/locale.cxx")
return;
// std::vector<ScLookupCacheMap*> is tricky, changing it would require moving lots of class definitions around
if (fn == SRCDIR "/sc/source/core/data/documen2.cxx"
|| fn == SRCDIR "/sc/source/core/tool/interpretercontext.cxx")
return;
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
}