Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 92d2bfb5a363004a8a399eefe5c79f14 > files > 53

coccinelle-examples-1.0.0-0.rc4.2.fc16.i686.rpm

// is also mega10.cocci 


@@ expression E; @@

// super unreadable, but we don't want the isomorphism to apply, because then
// two bindings of E drift up to the top

- if (unlikely(
+ BUG_ON(
  E
+ );
- )) { BUG(); }

@@ expression E; @@

- if (E) { BUG(); }
+ BUG_ON(E);