1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2/* Limit the number of expressions to 6 for performance reasons */
3@@
4expression e;
5typedef JsonVariant;
6type T != JsonVariant*;
7constant T n0, n1, n2, n3, n4, n5;
8@@
9(
10- e != n0 && e != n1 && e != n2 && e != n3 && e != n4 && e != n5
11+ !IN_SET(e, n0, n1, n2, n3, n4, n5)
12|
13- e != n0 && e != n1 && e != n2 && e != n3 && e != n4
14+ !IN_SET(e, n0, n1, n2, n3, n4)
15|
16- e != n0 && e != n1 && e != n2 && e != n3
17+ !IN_SET(e, n0, n1, n2, n3)
18|
19- e != n0 && e != n1 && e != n2
20+ !IN_SET(e, n0, n1, n2)
21|
22- e != n0 && e != n1
23+ !IN_SET(e, n0, n1)
24)
25