summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-26 10:52:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-26 10:52:35 +0100
commit1f1ce7e01ad7470de475f346e939757dbb1151f7 (patch)
tree1d1620c5e8f4190072d1567ce7516b4291bdd8d3 /compilerplugins
parent6409db7838751a3671485f035b9f975eb5ca23f2 (diff)
loplugin:constantfunction: vcl/unx/gtk3
Change-Id: I66ffc0c3a73d45e9d4b54f46092a65913b753d26
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/constantfunction.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/compilerplugins/clang/constantfunction.cxx b/compilerplugins/clang/constantfunction.cxx
index 4ca710f35b11..4f367fc709fb 100644
--- a/compilerplugins/clang/constantfunction.cxx
+++ b/compilerplugins/clang/constantfunction.cxx
@@ -405,8 +405,10 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) {
return true;
}
// vcl/unx/gtk3 re-using vcl/unx/gtk:
- if (aFunctionName == "GtkData::initNWF"
- || aFunctionName == "GtkSalFrame::EnsureAppMenuWatch")
+ if (aFunctionName == "DeInitAtkBridge"
+ || aFunctionName == "GtkData::initNWF"
+ || aFunctionName == "GtkSalFrame::EnsureAppMenuWatch"
+ || aFunctionName == "InitAtkBridge")
{
return true;
}