Lines Matching refs:e1
4 static enum E1 {} e1, e1b; variable
11 void(e1 * e1); in f()
12 void(e1 * e2); // expected-warning {{arithmetic between different enumeration types}} in f()
13 …void(e1 * d); // expected-warning {{arithmetic between enumeration type 'enum E1' and floating-poi… in f()
14 …void(d * e1); // expected-warning {{arithmetic between floating-point type 'double' and enumeratio… in f()
16 void(e1 + e1); in f()
17 void(e1 + e2); // expected-warning {{arithmetic between different enumeration types}} in f()
18 …void(e1 + d); // expected-warning {{arithmetic between enumeration type 'enum E1' and floating-poi… in f()
19 …void(d + e1); // expected-warning {{arithmetic between floating-point type 'double' and enumeratio… in f()
22 void(e1 <=> e1b); // expected-error {{include <compare>}} in f()
23 void(e1 <=> e2); // expected-error {{invalid operands}} in f()
24 void(e1 <=> d); // expected-error {{invalid operands}} in f()
25 void(d <=> e1); // expected-error {{invalid operands}} in f()
28 void(e1 < e1b); in f()
29 void(e1 < e2); // expected-warning {{comparison of different enumeration types}} in f()
30 …void(e1 < d); // expected-warning {{comparison of enumeration type 'enum E1' with floating-point t… in f()
31 …void(d < e1); // expected-warning {{comparison of floating-point type 'double' with enumeration ty… in f()
33 void(e1 == e1b); in f()
34 void(e1 == e2); // expected-warning {{comparison of different enumeration types}} in f()
35 …void(e1 == d); // expected-warning {{comparison of enumeration type 'enum E1' with floating-point … in f()
36 …void(d == e1); // expected-warning {{comparison of floating-point type 'double' with enumeration t… in f()
38 void(b ? e1 : e1b); in f()
39 …void(b ? e1 : e2); // expected-warning {{conditional expression between different enumeration type… in f()
40 …void(b ? e1 : d); // expected-warning {{conditional expression between enumeration type 'enum E1' … in f()
41 …void(b ? d : e1); // expected-warning {{conditional expression between floating-point type 'double… in f()
43 void(e1 = e1b); in f()
44 void(e1 = e2); // expected-error {{incompatible}} in f()
45 void(e1 = d); // expected-error {{incompatible}} in f()
46 void(d = e1); // FIXME: Should we warn on this? in f()
48 void(e1 += e1b); // expected-error {{incompatible}} in f()
49 void(e1 += e2); // expected-error {{incompatible}} in f()
50 void(e1 += d); // expected-error {{incompatible}} in f()
51 …void(d += e1); // expected-warning {{compound assignment of floating-point type 'double' from enum… in f()