Improve loplugin:elidestringvar

Desktop / LibreOffice - Stephan Bergmann [redhat.com] - 26 June 2020 15:31 EDT

...by addressing the follow-up TODO mentioned in the commit message of 7a3736f908c0ae207567603c61ce0f617339bac0 "New loplugin:elidestringvar" (extending it not only to uses with a constant sal_Unicode, but also to uses with OUStringLiteral).

(All necessary changes have been made in preceding "Upcoming improved loplugin:elidestringvar" commits.)

Change-Id: Ib0000ef9c4a1dad52124dfd039dd936cf7e3ba3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97226

311fe58df8cb Improve loplugin:elidestringvar
compilerplugins/clang/elidestringvar.cxx | 18 ++++++++++++-
compilerplugins/clang/test/elidestringvar.cxx | 39 +++++++++++++++++++++++++++
solenv/CompilerTest_compilerplugins_clang.mk | 1 +
3 files changed, 57 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share