summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/constparams.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-21 11:52:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-21 17:11:15 +0200
commitec340697d682bd7d0a361c8c701e513329c032bd (patch)
tree97fddfce1e5cf6ad94fc32653b261a1668441ce0 /compilerplugins/clang/constparams.cxx
parent7a7cba91a60c1c6d6645dfb8c7e88c5c6318ddee (diff)
loplugin:constparams in soltools and various
Change-Id: I5e8e4a9a31aa7c3ff54cc7ce137d08770ea297e1 Reviewed-on: https://gerrit.libreoffice.org/40279 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/constparams.cxx')
-rw-r--r--compilerplugins/clang/constparams.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/compilerplugins/clang/constparams.cxx b/compilerplugins/clang/constparams.cxx
index d2d779c4d1c4..15936c9e593d 100644
--- a/compilerplugins/clang/constparams.cxx
+++ b/compilerplugins/clang/constparams.cxx
@@ -108,6 +108,11 @@ bool ConstParams::VisitFunctionDecl(FunctionDecl * functionDecl)
|| name == "file_write"
|| name == "SalMainPipeExchangeSignal_impl"
|| name.startswith("SbRtl_")
+ || name == "my_if_errors"
+ || name == "my_eval_defined"
+ || name == "my_eval_variable"
+ // #ifdef win32
+ || name == "convert_slashes"
// UNO component entry points
|| name.endswith("component_getFactory")
// in Scheduler::, wants to loop until a reference to a bool becomes true