From b1164b07f9fdcd06a77dbdd74d45245a7c42c93e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 9 Sep 2016 13:55:14 +0200 Subject: loplugin:constantparam in sd Change-Id: I2bc989802c12b379a1ba4202f54ecfef1f339c8c Reviewed-on: https://gerrit.libreoffice.org/28774 Tested-by: Jenkins Reviewed-by: Noel Grandin --- compilerplugins/clang/constantparam.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/constantparam.cxx b/compilerplugins/clang/constantparam.cxx index 62a79494dd7d..58a2c212eead 100644 --- a/compilerplugins/clang/constantparam.cxx +++ b/compilerplugins/clang/constantparam.cxx @@ -22,6 +22,8 @@ $ make check $ make FORCE_COMPILE_ALL=1 COMPILER_PLUGIN_TOOL='constantparam' check $ ./compilerplugins/clang/constantparam.py + + TODO look for OUString and OString params and check for call-params that are always either "" or default constructed */ namespace { -- cgit