loplugin:staticmethods
Change-Id: I97160fc51dc16ff92b06d44570298eeec637e132
This commit is contained in:
@@ -184,6 +184,10 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
|
||||
if (fqn == "ColumnBatch::getValue") {
|
||||
return true;
|
||||
}
|
||||
// depends on config options
|
||||
if (fqn == "psp::PrintFontManager::autoInstallFontLangSupport") {
|
||||
return true;
|
||||
}
|
||||
|
||||
bVisitedThis = false;
|
||||
TraverseStmt(pCXXMethodDecl->getBody());
|
||||
@@ -199,7 +203,7 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
|
||||
return true;
|
||||
}
|
||||
|
||||
loplugin::Plugin::Registration<StaticMethods> X("staticmethods", false);
|
||||
loplugin::Plugin::Registration<StaticMethods> X("staticmethods", true);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user