Lines Matching full:void
8 void f0(char16);
10 void f0_test(char16 c16, longlong16 ll16, char16_e c16e, longlong16_e ll16e) {
20 void f1_test(char16 c16, longlong16 ll16, char16_e c16e, longlong16_e ll16e) {
27 void f2(char16_e); // expected-note{{no known conversion from 'longlong16_e' to 'char16_e' for 1st argument}} \
30 void f2_test(char16 c16, longlong16 ll16, char16_e c16e, longlong16_e ll16e) {
40 void conditional(bool Cond, char16 c16, longlong16 ll16, char16_e c16e,
55 (void)(Cond? c16 : ll16);
56 (void)(Cond? ll16e : c16e);
57 (void)(Cond? ll16e : c16);
61 void casts(longlong16 ll16, longlong16_e ll16e) {
63 (void)(char16)ll16;
64 (void)(char16_e)ll16;
65 (void)(longlong16)ll16;
66 (void)(longlong16_e)ll16;
67 (void)(char16)ll16e;
68 (void)(char16_e)ll16e;
69 (void)(longlong16)ll16e;
70 (void)(longlong16_e)ll16e;
73 (void)char16(ll16);
74 (void)char16_e(ll16);
75 (void)longlong16(ll16);
76 (void)longlong16_e(ll16);
77 (void)char16(ll16e);
78 (void)char16_e(ll16e);
79 (void)longlong16(ll16e);
80 (void)longlong16_e(ll16e);
83 (void)static_cast<char16>(ll16);
84 (void)static_cast<char16_e>(ll16);
85 (void)static_cast<longlong16>(ll16);
86 (void)static_cast<longlong16_e>(ll16);
87 (void)static_cast<char16>(ll16e);
88 (void)static_cast<char16_e>(ll16e); // expected-error{{static_cast from 'longlong16_e' to 'char16_e' is not allowed}}
89 (void)static_cast<longlong16>(ll16e);
90 (void)static_cast<longlong16_e>(ll16e);
93 (void)reinterpret_cast<char16>(ll16);
94 (void)reinterpret_cast<char16_e>(ll16);
95 (void)reinterpret_cast<longlong16>(ll16);
96 (void)reinterpret_cast<longlong16_e>(ll16);
97 (void)reinterpret_cast<char16>(ll16e);
98 (void)reinterpret_cast<char16_e>(ll16e);
99 (void)reinterpret_cast<longlong16>(ll16e);
100 (void)reinterpret_cast<longlong16_e>(ll16e);
108 void test_implicit_conversions(bool Cond, char16 c16, longlong16 ll16,
125 (void)(c16 == c16e);
126 (void)(c16 == to_c16);
127 (void)+to_c16;
128 (void)-to_c16;
129 (void)~to_c16;
130 (void)(to_c16 == to_c16e);
131 (void)(to_c16 != to_c16e);
132 (void)(to_c16 < to_c16e);
133 (void)(to_c16 <= to_c16e);
134 (void)(to_c16 > to_c16e);
135 (void)(to_c16 >= to_c16e);
136 (void)(to_c16 + to_c16);
137 (void)(to_c16 - to_c16);
138 (void)(to_c16 * to_c16);
139 (void)(to_c16 / to_c16);
140 (void)(rto_c16 = to_c16); // expected-error{{no viable overloaded '='}}
141 (void)(rto_c16 += to_c16);
142 (void)(rto_c16 -= to_c16);
143 (void)(rto_c16 *= to_c16);
144 (void)(rto_c16 /= to_c16);
146 (void)+to_c16e;
147 (void)-to_c16e;
148 (void)~to_c16e;
149 (void)(to_c16e == to_c16e);
150 (void)(to_c16e != to_c16e);
151 (void)(to_c16e < to_c16e);
152 (void)(to_c16e <= to_c16e);
153 (void)(to_c16e > to_c16e);
154 (void)(to_c16e >= to_c16e);
155 (void)(to_c16e + to_c16);
156 (void)(to_c16e - to_c16);
157 (void)(to_c16e * to_c16);
158 (void)(to_c16e / to_c16);
159 (void)(rto_c16e = to_c16); // expected-error{{no viable overloaded '='}}
160 (void)(rto_c16e += to_c16);
161 (void)(rto_c16e -= to_c16);
162 (void)(rto_c16e *= to_c16);
163 (void)(rto_c16e /= to_c16);
165 (void)+to_c16;
166 (void)-to_c16;
167 (void)~to_c16;
168 (void)(to_c16 == to_c16e);
169 (void)(to_c16 != to_c16e);
170 (void)(to_c16 < to_c16e);
171 (void)(to_c16 <= to_c16e);
172 (void)(to_c16 > to_c16e);
173 (void)(to_c16 >= to_c16e);
174 (void)(to_c16 + to_c16e);
175 (void)(to_c16 - to_c16e);
176 (void)(to_c16 * to_c16e);
177 (void)(to_c16 / to_c16e);
178 (void)(rto_c16 = c16e); // expected-error{{no viable overloaded '='}}
179 (void)(rto_c16 += to_c16e);
180 (void)(rto_c16 -= to_c16e);
181 (void)(rto_c16 *= to_c16e);
182 (void)(rto_c16 /= to_c16e);
184 (void)(Cond? to_c16 : to_c16e);
185 (void)(Cond? to_ll16e : to_ll16);
188 (void)(Cond? to_c16 : to_ll16);
189 (void)(Cond? to_c16e : to_ll16e);
197 void accept_fltx2(fltx2); // expected-note{{candidate function not viable: no known conversion from 'double' to 'fltx2' for 1st argument}}
198 void accept_fltx4(fltx4);
199 void accept_dblx2(dblx2);
200 void accept_dblx4(dblx4);
201 void accept_bool(bool); // expected-note{{candidate function not viable: no known conversion from 'fltx2' to 'bool' for 1st argument}}
203 void test(fltx2 fltx2_val, fltx4 fltx4_val, dblx2 dblx2_val, dblx4 dblx4_val) {
226 void test_mixed_vector_types(fltx4 f, intx4 n, flte4 g, flte4 m) {
227 (void)(f == g);
228 (void)(g != f);
229 (void)(f <= g);
230 (void)(g >= f);
231 (void)(f < g);
232 (void)(g > f);
234 (void)(+g);
235 (void)(-g);
237 (void)(f + g);
238 (void)(f - g);
239 (void)(f * g);
240 (void)(f / g);
241 (void)(f = g);
242 (void)(f += g);
243 (void)(f -= g);
244 (void)(f *= g);
245 (void)(f /= g);
248 (void)(n == m);
249 (void)(m != n);
250 (void)(n <= m);
251 (void)(m >= n);
252 (void)(n < m);
253 (void)(m > n);
255 (void)(+m);
256 (void)(-m);
257 (void)(~m);
259 (void)(n + m);
260 (void)(n - m);
261 (void)(n * m);
262 (void)(n / m);
263 (void)(n % m);
264 (void)(n = m);
265 (void)(n += m);
266 (void)(n -= m);
267 (void)(n *= m);
268 (void)(n /= m);