https://issues.apache.org/ooo/show_bug.cgi?id=123862

--- Comment #4 from [email protected] ---
almost missed the very common implicit casts
in conditions:
if (a.getLength())
a.getLength() ? b : c
while (a.getLength())

and via logical operators !,|| and &&:
a.getLength() && b
a.getLength() || b
!a.getLength()

explicit casts:
(bool)a.getLength()
(sal_Bool)...
(??_Bool)...

it might be easier to generate an expression which excludes all legitimate
usages of getLength(), instead of including all variants

but priority is to build expressions which can't break the logic

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to