]> git.proxmox.com Git - mirror_frr.git/blob - tools/coccinelle/bool_function.cocci
Merge pull request #8593 from idryzhov/cmd-ambiguous
[mirror_frr.git] / tools / coccinelle / bool_function.cocci
1 @@
2 identifier fn;
3 typedef bool;
4 symbol false;
5 symbol true;
6 @@
7
8 bool fn ( ... )
9 {
10 <...
11 return
12 (
13 - 0
14 + false
15 |
16 - 1
17 + true
18 )
19 ;
20 ...>
21 }