• Stephan Bergmann's avatar
    implicitboolconversion: warn about implicit conversion of call args to bool · 76b114f8
    Stephan Bergmann yazdı
    ...to be able to find problems like 6e0bdf04
    "sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through it"
    earlier when converting occurrences of sal_Bool to bool.
    
    Restricting this check to function call arguments avoids too much noise while
    hopefully still catching all the relevant problems.
    
    (This check partially overlaps the pointertobool check, so implicit conversions
    from pointers to bool call arguments will now generate two loplugin warnings,
    but that's harmless.)
    
    Change-Id: I0b03b1d1615aaf8bc18e7a84c56fff3ef9903508
    76b114f8
Adı
Son kayıt (commit)
Son güncelleme
..
inc Loading commit data...
qa Loading commit data...
sdi Loading commit data...
source Loading commit data...
uiconfig/smath Loading commit data...
util Loading commit data...
workben Loading commit data...
AllLangResTarget_sm.mk Loading commit data...
CppunitTest_starmath_qa_cppunit.mk Loading commit data...
JunitTest_starmath_unoapi.mk Loading commit data...
Library_sm.mk Loading commit data...
Library_smd.mk Loading commit data...
Makefile Loading commit data...
Module_starmath.mk Loading commit data...
README Loading commit data...
UIConfig_smath.mk Loading commit data...
visual-editor-todo Loading commit data...