Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > 589b38626859682dda0b4289ae4806af > files > 41

coccinelle-examples-1.0.7-2.mga7.i586.rpm

// This rule lacks exists, without exists, all control flows possible
// must match the rule. In the case of exists2.c two possible control
// flows exists on main():
// 1. b() --> a > 5 --> c();
// 2. b() --> a <= 5 ---> no c();
// Not all control flows match, so no changes are made.
// To visualize the control graph use: spatch --control-flow exists2.c
@r@
@@

b();
...
-c();