Skip to content

do not perform shift if negative value

a8241f3
Select commit
Loading
Failed to load commit list.
Open

Fix #11389 unnecessary trunc long cast return - part2 #8243

do not perform shift if negative value
a8241f3
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Cppcheck Premium succeeded Mar 2, 2026 in 3s

No new alerts in code changed by this pull request

Annotations

Check warning on line 1045 in lib/astutils.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

An unsigned arithmetic operation with constant operands should not wrap Warning

An unsigned arithmetic operation with constant operands should not wrap

Check warning on line 1045 in lib/astutils.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

An unsigned arithmetic operation with constant operands should not wrap Warning

An unsigned arithmetic operation with constant operands should not wrap