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

Noel Grandin noel.grandin at collabora.co.uk
Thu Aug 17 10:13:06 UTC 2017


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

New commits:
commit ea43e0e3ceec30336273da0fb3d47c24073cffd2
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Thu Aug 17 12:10:09 2017 +0200

    display oncevar loplugin by default
    
    seems to be annoying some people. I'll run this one myself, and at some
    stage create some code for enabling a subset of extra plugins via
    configure.ac
    
    Change-Id: Ia95701f63f65751d75b5a3fecffb1fc1a82f38e0

diff --git a/compilerplugins/clang/oncevar.cxx b/compilerplugins/clang/oncevar.cxx
index 052a448b0325..0f2e47219928 100644
--- a/compilerplugins/clang/oncevar.cxx
+++ b/compilerplugins/clang/oncevar.cxx
@@ -404,7 +404,7 @@ bool OnceVar::VisitDeclRefExpr( const DeclRefExpr* declRefExpr )
     return true;
 }
 
-loplugin::Plugin::Registration< OnceVar > X("oncevar", true);
+loplugin::Plugin::Registration< OnceVar > X("oncevar", false);
 
 }
 


More information about the Libreoffice-commits mailing list