summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-08-10 20:51:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-08-10 21:58:46 +0200
commit7bae79e234b12c56ecb11e10cb6318be873be846 (patch)
treec5add125e0392a16b632803a337ddc1000e75302 /compilerplugins
parenteb8ce706d41fcf23333af3b0eec5cee2a12075f0 (diff)
Use boost::make_shared
Change-Id: I2c842d6198d79dcc3f5c85ab65c8f57357aa2a79 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120289 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/makeshared.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/compilerplugins/clang/makeshared.cxx b/compilerplugins/clang/makeshared.cxx
index 9b512371d635..816d1269fac3 100644
--- a/compilerplugins/clang/makeshared.cxx
+++ b/compilerplugins/clang/makeshared.cxx
@@ -37,11 +37,6 @@ public:
virtual bool preRun() override
{
StringRef fn(handler.getMainFileName());
- // uses boost::shared_ptr and we trigger because we're not looking specifically for std::shared_ptr
- if (loplugin::isSamePathname(fn, SRCDIR "/ucb/source/ucp/cmis/cmis_repo_content.cxx"))
- return false;
- if (loplugin::isSamePathname(fn, SRCDIR "/ucb/source/ucp/cmis/cmis_content.cxx"))
- return false;
// TODO something weird with protected base classes going on here
if (loplugin::isSamePathname(fn, SRCDIR "/sc/source/filter/excel/xeextlst.cxx"))
return false;