Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
In C code COND_EXPR used like IF_STMT in C++.
|
|
This allow check expressions like: expr ? expr : expr
|
|
Example: if (!a && a->b)
if (a || a->b)
|
|
Example: if (a && a->b)
if (!a || a->b)
|
|
|
|
|
|
|
|
|
|
usage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
node.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Now if variable check happend before other code variable will not trigger warning.
Example:
if (!a)
return;
*a = 10;
|
|
This need for case like this:
if (!a)
{
...
return;
}
*a = 10;
|
|
Now two variables one const for input data, and second for output data.
|
|
|
|
|
|
This fix bug in test6.
|
|
It search null pointers and also dump walking nodes.
|
|
|
|
|
|
|
|
|
|
|
|
Also fix line in warning for MODIFY_EXPR.
|
|
|
|
|
|
|
|
|
|
nonnull attribute
|