summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-23 12:22:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-24 07:56:57 +0100
commit945a119675788f7c8f0a133ac0271f9340c1653a (patch)
tree36b8ec346d009628b22922e510ba19fd2ece4f58 /compilerplugins
parent7b7c388fe402e14486664e36eeb6c1f0fe1e02b9 (diff)
loplugin:constparams
Change-Id: I7c695073d9a9d3b7a641d6eb9fe01a47d8c3a504 Reviewed-on: https://gerrit.libreoffice.org/48392 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/constparams.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/constparams.cxx b/compilerplugins/clang/constparams.cxx
index f075d0c06edc..89be6f684033 100644
--- a/compilerplugins/clang/constparams.cxx
+++ b/compilerplugins/clang/constparams.cxx
@@ -209,6 +209,8 @@ bool ConstParams::CheckTraverseFunctionDecl(FunctionDecl * functionDecl)
|| name == "Read_Footnote"
|| name == "Read_Field"
|| name == "Read_And"
+ // passed as a LINK<> to another method
+ || name == "GlobalBasicErrorHdl_Impl"
)
return false;
}