refactor using OK.cocci
commitd5614417c569af92e6358f2a9df4a40b979178ba
authorPicca Frédéric-Emmanuel <picca@debian.org>
Tue, 2 Sep 2014 19:40:42 +0000 (2 21:40 +0200)
committerPicca Frédéric-Emmanuel <picca@debian.org>
Tue, 2 Sep 2014 19:40:42 +0000 (2 21:40 +0200)
treeea426da2f38fe5f8705af950d1f69554f93597e7
parentde7e77691f3d20382b973a24ee53769e118961f2
refactor using OK.cocci

@@
identifier res, f;
expression E;
@@

(
res &= DIAG(E);
|
-res &= E;
+res &= DIAG(E);
)
hkl/hkl-pseudoaxis-auto-private.h
hkl/hkl-pseudoaxis-common-hkl-private.h
scripts/OK.cocci [new file with mode: 0644]
scripts/refactoring
tests/hkl-pseudoaxis-t.c