summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-22 15:17:23 +0200
committerNoel Grandin <noel@peralex.com>2015-04-23 13:08:48 +0200
commit7ab8b08b6c8e7eb05e8ec8dde2afbe0940075f36 (patch)
tree4d00c315e2ebf6d8fe868dfc4f6b0a72c9c6ff8e /compilerplugins
parent0a7b739cc33a56339a2bf0f8f0253f9402cabd35 (diff)
loplugin:staticmethods
Change-Id: Iab2f10b000ef41fb090e0034785d4ed0bda4cf43
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/staticmethods.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/compilerplugins/clang/staticmethods.cxx b/compilerplugins/clang/staticmethods.cxx
index f1186b019ae7..7b1966001b37 100644
--- a/compilerplugins/clang/staticmethods.cxx
+++ b/compilerplugins/clang/staticmethods.cxx
@@ -162,6 +162,10 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
|| fqn == "SfxApplication::InitializeDde" || fqn == "SfxApplication::RemoveDdeTopic") {
return true;
}
+ // debugging stuff
+ if (fqn == "chart::InternalData::dump") {
+ return true;
+ }
// used in a function-pointer-table
if (startsWith(fqn, "SbiRuntime::Step")) {
return true;
@@ -181,7 +185,7 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
return true;
}
-loplugin::Plugin::Registration<StaticMethods> X("staticmethods", true);
+loplugin::Plugin::Registration<StaticMethods> X("staticmethods", false);
}