Repository navigation
Remove valueFlowArrayBool() (redundancy with valueFlowImpossibleValues()) - #8905
chrchr-github wants to merge 6 commits into
Conversation
|
This is an AI review. Take it with a grain of salt and feel free to reject it by resolving the comment. The removal looks safe to me. I built the PR and compared it with main on a set of array-to-bool cases ( One suggestion: check("void f() {\n"
" char buf[10];\n"
" char *p = buf;\n"
" if (!p) {}\n"
"}\n");
ASSERT_EQUALS("[test.cpp:4:9]: (style) Condition '!p' is always false [knownConditionTrueFalse]\n", errout_str()); |
|
Test results for commit 5276cfd (tools/test-my-pr.py, main compared to this PR): Test: http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-8905/ Posted automatically by the cppcheck PR test runner. +N: warnings only with this PR, -N: warnings only with main. The AI review is written by Claude and can be wrong. |
No description provided.