diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-05 10:33:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-05 14:05:20 +0200 |
commit | 7d426e6fd681c6f0fb45a69f3ac7076817495135 (patch) | |
tree | 6af4c99b75b145f990e1dda4e4c3503ccfce80c6 /compilerplugins/clang | |
parent | aa06ce15fdd68983001ef33d1931fbaf6b515282 (diff) |
loplugin:staticmethods
Change-Id: I97160fc51dc16ff92b06d44570298eeec637e132
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r-- | compilerplugins/clang/staticmethods.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compilerplugins/clang/staticmethods.cxx b/compilerplugins/clang/staticmethods.cxx index 562694bbf720..528dc0f003f1 100644 --- a/compilerplugins/clang/staticmethods.cxx +++ b/compilerplugins/clang/staticmethods.cxx @@ -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); } |