[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann
sbergman at redhat.com
Thu Jun 2 21:48:26 UTC 2016
compilerplugins/clang/unusedfields.cxx | 2 +-
compilerplugins/clang/unusedmethods.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2712fc0869e5ba3b7a1da41e0ce72431d3b0deee
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jun 2 23:46:46 2016 +0200
I assume these special plugins were not intended to be enabled unconditionally
...with fa135fd0e05fc4ba784b4349d65f2e5ed26c0f55 "remove unused SID constants
and associated code"
Change-Id: I51b2a9e3c8ce13401818bca0c40167a4364212f1
diff --git a/compilerplugins/clang/unusedfields.cxx b/compilerplugins/clang/unusedfields.cxx
index 7191577..a370cb3 100644
--- a/compilerplugins/clang/unusedfields.cxx
+++ b/compilerplugins/clang/unusedfields.cxx
@@ -297,7 +297,7 @@ bool UnusedFields::VisitDeclRefExpr( const DeclRefExpr* declRefExpr )
return true;
}
-loplugin::Plugin::Registration< UnusedFields > X("unusedfields", true);
+loplugin::Plugin::Registration< UnusedFields > X("unusedfields", false);
}
diff --git a/compilerplugins/clang/unusedmethods.cxx b/compilerplugins/clang/unusedmethods.cxx
index 9b3e9e8..aa645fb 100644
--- a/compilerplugins/clang/unusedmethods.cxx
+++ b/compilerplugins/clang/unusedmethods.cxx
@@ -378,7 +378,7 @@ bool UnusedMethods::VisitDeclRefExpr( const DeclRefExpr* declRefExpr )
return true;
}
-loplugin::Plugin::Registration< UnusedMethods > X("unusedmethods", true);
+loplugin::Plugin::Registration< UnusedMethods > X("unusedmethods", false);
}
More information about the Libreoffice-commits
mailing list