loplugin:implicitboolconversion: warn about conversions to unsigned char

Desktop / LibreOffice - Stephan Bergmann [redhat.com] - 17 April 2015 08:20 UTC

...while avoiding warnings about conversions to bool-like typedefs (sal_Bool etc.), also in cases where those typedefs are used as type arguments of template specializations (which is no little feat, and the current code is only an approximation of it, one that appears to cover the relevant cases in our code base though).

8e4d82c loplugin:implicitboolconversion: warn about conversions to unsigned char
compilerplugins/clang/implicitboolconversion.cxx | 362 +++++++++++++++++++---
1 file changed, 325 insertions(+), 37 deletions(-)

Upstream: cgit.freedesktop.org


  • Share