summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-02 23:46:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-02 23:46:46 +0200
commit2712fc0869e5ba3b7a1da41e0ce72431d3b0deee (patch)
tree959c1d359a5404df4dabdf6594dab31ad9a8ee7e /compilerplugins
parente70cdaba2e2fd7f186d5bd670d249cf3b9f16038 (diff)
I assume these special plugins were not intended to be enabled unconditionally
...with fa135fd0e05fc4ba784b4349d65f2e5ed26c0f55 "remove unused SID constants and associated code" Change-Id: I51b2a9e3c8ce13401818bca0c40167a4364212f1
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/unusedfields.cxx2
-rw-r--r--compilerplugins/clang/unusedmethods.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/unusedfields.cxx b/compilerplugins/clang/unusedfields.cxx
index 7191577cbaab..a370cb37c449 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 9b3e9e85f117..aa645fb7cc4a 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);
}