[Libreoffice-commits] core.git: compilerplugins/clang

Noel Grandin noel.grandin at collabora.co.uk
Mon Nov 20 07:04:04 UTC 2017


 compilerplugins/clang/useuniqueptr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 21e85d591f344958c3ebee9422ba15dbd931f2cc
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Fri Nov 17 11:16:42 2017 +0200

    re-enable loplugin:useuniqueptr
    
    Change-Id: Ic1a7e5bd3a8002ac996a6af1d1d9a439d4153b0b
    Reviewed-on: https://gerrit.libreoffice.org/44864
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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);
 
 }
 


More information about the Libreoffice-commits mailing list