summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-30 12:15:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-31 08:25:37 +0200
commitc394363c84064c041391627602665ea1fa74db60 (patch)
tree7e41cb32ff0e2b0701ff3113c8a819f5f961d497 /compilerplugins/clang
parentc9253818ec8252169c20450b41878be459568d95 (diff)
loplugin:constparams in basctl
Change-Id: If6c2b980a2916c4ee8ac108fbb84b006a35f49c5 Reviewed-on: https://gerrit.libreoffice.org/40570 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/constparams.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/compilerplugins/clang/constparams.cxx b/compilerplugins/clang/constparams.cxx
index 93b325a06657..25e87630b2bb 100644
--- a/compilerplugins/clang/constparams.cxx
+++ b/compilerplugins/clang/constparams.cxx
@@ -155,6 +155,10 @@ bool ConstParams::VisitFunctionDecl(const FunctionDecl * functionDecl)
|| name == "ImpGetPercent"
|| name == "ImpGetAlign"
|| name == "write_function"
+ || name == "PyUNO_getattr"
+ || name == "PyUNO_setattr"
+ || name == "PyUNOStruct_setattr"
+ || name == "PyUNOStruct_getattr"
// #ifdef win32
|| name == "convert_slashes"
// UNO component entry points