Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
V
Vsevolod Stakhov
Merge branch 'master' into gsoc 12 years ago 8d30157 History
HardenedBSD-pkg tests cocci sizeof.cocci
// Applying sizeof to the result of sizeof makes no sense
//
// Confidence: High
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, INRIA, DIKU.  GPLv2.
// URL: http://coccinelle.lip6.fr/rules/sizeof.html
// Options:

@@
expression E;
@@

- sizeof (
  sizeof (E)
- )

@@
type T;
@@

- sizeof (
  sizeof (T)
- )