loplugin:staticmethods

Change-Id: Ie348778ea666c24e95e048386547f301083a0017
This commit is contained in:
Noel Grandin
2015-04-07 13:16:24 +02:00
parent e68c699b7e
commit 35163715ea
30 changed files with 70 additions and 70 deletions

View File

@@ -133,6 +133,11 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
if (startsWith(getFilename(pCXXMethodDecl->getCanonicalDecl()->getLocStart()), SRCDIR "/include/svl")) {
return true;
}
// another one of those classes that has static data and some kind of weird reference-counting trick in it's constructor
if (aParentName == "LinguOptions") {
return true;
}
bVisitedThis = false;
TraverseStmt(pCXXMethodDecl->getBody());