emacs/admin/coccinelle/nilp.cocci

7 lines
81 B
Plaintext

// Prefer NILP (x) to EQ (x, Qnil)
@@
expression X;
@@
- EQ (X, Qnil)
+ NILP (X)