Commit 8f551bef authored by Julia Lawall's avatar Julia Lawall Committed by Michal Marek

Coccinelle: reduce rule applicability

Rule r is only use in org or report mode, so only execute it in those
cases.
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent 0a9e7da6
......@@ -50,7 +50,7 @@ T **x;
// For org and report mode
//----------------------------------------------------------
@r disable sizeof_type_expr@
@r depends on (org || report) disable sizeof_type_expr@
type T;
T **x;
position p;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment