summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-17 11:16:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-20 08:03:42 +0100
commit21e85d591f344958c3ebee9422ba15dbd931f2cc (patch)
tree3a22b5e4e132dd7e1832fbd86b00d1af1378df2f /compilerplugins
parente9b3a326eec96a0867fe18a991fe6be917972148 (diff)
re-enable loplugin:useuniqueptr
Change-Id: Ic1a7e5bd3a8002ac996a6af1d1d9a439d4153b0b Reviewed-on: https://gerrit.libreoffice.org/44864 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/useuniqueptr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx
index 8d75c4fa347b..c35426727cdc 100644
--- a/compilerplugins/clang/useuniqueptr.cxx
+++ b/compilerplugins/clang/useuniqueptr.cxx
@@ -373,7 +373,7 @@ void UseUniquePtr::CheckForDeleteOfPOD(const CompoundStmt* compoundStmt)
-loplugin::Plugin::Registration< UseUniquePtr > X("useuniqueptr", false);
+loplugin::Plugin::Registration< UseUniquePtr > X("useuniqueptr", true);
}