xref: /xnu-12377.81.4/tools/cocci/remove-cassert.cocci (revision 043036a2b3718f7f0be807e2870f8f47d3fa0796)
1// To apply, at the top of xnu.git:
2// $ spatch --max-width=120 --use-gitgrep --in-place --include-headers --sp-file tools/cocci/remove-cassert.cocci -dir .
3
4@@
5expression E;
6@@
7
8(
9- _CASSERT(E)
10+ static_assert(E)
11)
12