Home | History | Annotate | Download | only in SemaCXX

Lines Matching defs:Switch

28   void Switch() {
31 switch (i) {} // @31
32 switch (i + 0) {}
33 switch (+i) {}
42 //expected-error@31 {{multiple conversions from switch condition type 'zero_init<int>' to an integral or enumeration type}}
80 switch (a0) {}
81 switch (a1) {} // @81 -- fails for different reasons
82 switch (a2) {} // @82
83 switch (a3) {} // @83
84 switch (a4) {} // @84
85 switch (b2) {} // @85 -- fails for different reasons
138 switch (a1) {} // @138 -- should presumably call templated conversion operator to convert to int.
139 switch (a2) {} // @139
140 switch (b1) {}
141 switch (b2) {}
142 switch (c) {} // @142
143 switch (d) {} // @143