diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-13 10:37:01 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-23 13:08:47 +0200 |
commit | 6d5ae48427d1c59e65f0bfc16cf075eaa4cdca17 (patch) | |
tree | c157ee7414beb262031e6a85afdfac0ea6242fea /compilerplugins | |
parent | 7671856926e04c2708152d1c9f74217004cbc64c (diff) |
loplugin:staticmethods
Change-Id: I200fdb2e193127f0c9e8cec4859845d3ec19cea0
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/staticmethods.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compilerplugins/clang/staticmethods.cxx b/compilerplugins/clang/staticmethods.cxx index aaa4f6b798d6..8d3602bf5766 100644 --- a/compilerplugins/clang/staticmethods.cxx +++ b/compilerplugins/clang/staticmethods.cxx @@ -146,7 +146,8 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl) || aParentName == "svtools::ExtendedColorConfig" || aParentName == "SvtMiscOptions" || aParentName == "SvtAccessibilityOptions" || aParentName == "svtools::ColorConfig" || aParentName == "SvtOptionsDrawinglayer" || aParentName == "SvtMenuOptions" - || aParentName == "SvtToolPanelOptions" || aParentName == "SvtSlideSorterBarOptions") + || aParentName == "SvtToolPanelOptions" || aParentName == "SvtSlideSorterBarOptions" + || aParentName == "connectivity::SharedResources" ) { return true; } @@ -178,7 +179,7 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl) return true; } -loplugin::Plugin::Registration<StaticMethods> X("staticmethods", false); +loplugin::Plugin::Registration<StaticMethods> X("staticmethods", true); } |