summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-30 10:47:56 +0200
committerNoel Grandin <noel@peralex.com>2015-05-05 09:30:39 +0200
commitf304a7a14a4af4d3f46eab18d5494194028e61ef (patch)
tree7f51b8efe4427d01fc688925c44e0a05e3c64c7b /compilerplugins
parentb2b85c2b3920fdd92b8d3bf32af1cac5679e116e (diff)
loplugin:staticmethods
Change-Id: I384a5e60f4b7b2f479c89ef97630519059ab720f
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 2a68cae12279..e2874b2d9c84 100644
--- a/compilerplugins/clang/staticmethods.cxx
+++ b/compilerplugins/clang/staticmethods.cxx
@@ -171,6 +171,10 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
if (startsWith(fqn, "SbiRuntime::Step")) {
return true;
}
+ // have no idea why this can't be static, but 'make check' fails with it so...
+ if (fqn == "oox::drawingml::Shape::resolveRelationshipsOfTypeFromOfficeDoc") {
+ return true;
+ }
bVisitedThis = false;
TraverseStmt(pCXXMethodDecl->getBody());
@@ -186,7 +190,7 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
return true;
}
-loplugin::Plugin::Registration<StaticMethods> X("staticmethods", false );
+loplugin::Plugin::Registration<StaticMethods> X("staticmethods", false );
}