summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-16 12:06:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-23 08:14:07 +0200
commit7e937a13840129b1aba0ffcc560dc07e891ebe09 (patch)
treed34dccc224deaab034588a244d94ac7aa27d9f0c /compilerplugins/clang
parent18c2742946a745d5311a1c26bda352cefc6c1ac0 (diff)
loplugin:useuniqueptr in Inflater,Deflater
Change-Id: I55833664a6e76d781908b8f1f721dd9a4946e35f Reviewed-on: https://gerrit.libreoffice.org/53224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/useuniqueptr.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx
index 192ae50a4eba..0b5fb2c79aa7 100644
--- a/compilerplugins/clang/useuniqueptr.cxx
+++ b/compilerplugins/clang/useuniqueptr.cxx
@@ -42,6 +42,9 @@ public:
// this just too clever for me
if (fn == SRCDIR "/sc/source/core/tool/chgtrack.cxx")
return;
+ // too clever
+ if (fn == SRCDIR "/pyuno/source/module/pyuno_runtime.cxx")
+ return;
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
}