Lines Matching full:multiple
27 a = a++; // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
30 ++a + ++a; // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
31 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
32 a++ + a++; // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
33 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
36 a = xs[a++]; // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
40 a = (a++, a++); // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
46 f(a = 0, a = 0); // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
47 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
50 a = f(++a, a++); // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
51 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
64 S str1(a++, a++); // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
65 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
73 a = A { ++a, a++ }.x; // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
74 …A { ++a, a++ }.x + A { ++a, a++ }.y; // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
75 … // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
125 (xs[7] && ++a) * (!xs[7] && ++a); // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
126 … // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
132 xs[8] ? ++a + a++ : 0; // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
133 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
134 xs[8] ? 0 : ++a + a++; // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
135 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
149 xs[8] && (++a + a++); // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
150 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
151 xs[8] || (++a + a++); // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
152 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
165 …a = ((a++, false) || (a++, false) || (a++, false) || a++); // cxx11-warning {{multiple unsequenced… in test()
166 …a = ((a++, true) && (a++, true) && (a++, true) && a++); // cxx11-warning {{multiple unsequenced mo… in test()
171 a = (true && a++); // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
174 a = (false || a++); // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
177 (a++) | (a++); // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
178 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
179 (a++) & (a++); // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
180 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
181 (a++) ^ (a++); // cxx11-warning {{multiple unsequenced modifications to 'a'}} in test()
182 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
187 …(__builtin_expect(++a, 0) ? 1 : 0) + ++a; // cxx11-warning {{multiple unsequenced modifications to… in test()
188 … // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in test()
194 (i++, xs)[i++]; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
195 (++i, xs)[++i]; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
196 (i, xs)[++i + ++i]; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
197 // cxx17-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
204 …(PtrMem = &S::x ,s).*(PtrMem = &S::x); // cxx11-warning {{multiple unsequenced modifications to 'P… in test()
206 …(PtrMem = &S::x ,ps)->*(PtrMem = &S::x); // cxx11-warning {{multiple unsequenced modifications to … in test()
207 …(PtrMem = nullptr) == (PtrMem = nullptr); // cxx11-warning {{multiple unsequenced modifications to… in test()
208 … // cxx17-warning@-1 {{multiple unsequenced modifications to 'PtrMem'}} in test()
212 i++ << i++; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
213 ++i << ++i; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
216 i++ >> i++; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
217 ++i >> ++i; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
224 ++i = i++; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
226 i = i++ + ++i; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
227 // cxx17-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
228 ++i += ++i; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
229 ++i += i++; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
230 (i++, i) += ++i; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
231 (i++, i) += i++; // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
255 p[i++] = (i = 42); // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
257 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
259 (i++, f)(i++, 42); // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
260 (i++ + i++, f)(42, 42); // cxx11-warning {{multiple unsequenced modifications to 'i'}} in test()
261 // cxx17-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
265 f((pf = f, 42), (pf = f, 42)); // cxx11-warning {{multiple unsequenced modifications to 'pf'}} in test()
266 // cxx17-warning@-1 {{multiple unsequenced modifications to 'pf'}} in test()
329 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
330 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
332 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
333 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
335 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
336 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
338 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
339 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
341 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
342 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
344 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
345 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
347 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
348 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
350 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
351 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
354 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
355 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
357 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
358 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
360 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
361 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
363 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
364 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
366 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
367 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
369 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
370 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
374 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
376 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
378 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
380 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
382 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
384 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
386 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
388 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
390 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
392 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
394 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
397 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
398 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
402 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
404 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
406 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
408 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
410 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
412 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
415 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
416 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
419 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
422 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
424 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
425 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
428 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
441 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
444 // cxx11-warning@-1 {{multiple unsequenced modifications to 'i'}} in test()
445 // cxx17-warning@-2 {{multiple unsequenced modifications to 'i'}} in test()
461 ++a + ++a; // cxx11-warning {{multiple unsequenced modifications to 'a'}} in member_f()
462 // cxx17-warning@-1 {{multiple unsequenced modifications to 'a'}} in member_f()
469 ++s.a + ++s.a; // no-warning TODO {{multiple unsequenced modifications to}} in member_f()
480 ++bf1 + ++bf1; // cxx11-warning {{multiple unsequenced modifications to 'bf1'}} in member_f()
481 // cxx17-warning@-1 {{multiple unsequenced modifications to 'bf1'}} in member_f()
484 ++bf1 + ++bf2; // no-warning TODO {{multiple unsequenced modifications to}} in member_f()
488 ++s.bf1 + ++s.bf1; // no-warning TODO {{multiple unsequenced modifications to}} in member_f()
490 ++s.bf1 + ++s.bf2; // no-warning TODO {{multiple unsequenced modifications to}} in member_f()
503 …++s1_ref.a + ++d_ref.a; // no-warning TODO {{multiple unsequenced modifications to member 'a' of '… in member_f()
508 ++x + ++x; // cxx11-warning {{multiple unsequenced modifications to 'x'}} in member_f()
509 // cxx17-warning@-1 {{multiple unsequenced modifications to 'x'}} in member_f()
524 ++x + ++x; // no-warning TODO {{multiple unsequenced modifications to}} in f2()
531 ++s.x + ++s.x; // no-warning TODO {{multiple unsequenced modifications to}} in f2()
548 ++x + ++x; // no-warning TODO {{multiple unsequenced modifications to}} in f3()
555 ++s.x + ++s.x; // no-warning TODO {{multiple unsequenced modifications to}} in f3()
567 ++x + ++x; // no-warning TODO {{multiple unsequenced modifications to}} in f4()
576 ++s.x + ++s.x; // no-warning TODO {{multiple unsequenced modifications to}} in f4()
590 ++Ux + ++Ux; // no-warning TODO {{multiple unsequenced modifications to}} in f5()
598 ++s.x + ++s.x; // no-warning TODO {{multiple unsequenced modifications to}} in f6()
604 ++t.x + ++t.x; // no-warning TODO {{multiple unsequenced modifications to}} in f6()
624 ++ra1 + ++ra2; // no-warning TODO {{multiple unsequenced modifications to}} in reference_f()
631 ++ref_cycle + ++ref_cycle; // cxx11-warning {{multiple unsequenced modifications to 'ref_cycle'}} in reference_f()
632 … // cxx17-warning@-1 {{multiple unsequenced modifications to 'ref_cycle'}} in reference_f()
657 ++x + ++x; // cxx11-warning {{multiple unsequenced modifications to 'x'}} in testa()
658 // cxx17-warning@-1 {{multiple unsequenced modifications to 'x'}} in testa()
668 ++x + ++x; // cxx11-warning {{multiple unsequenced modifications to 'x'}} in testa()
669 // cxx17-warning@-1 {{multiple unsequenced modifications to 'x'}} in testa()
682 ++x + ++x; // cxx11-warning {{multiple unsequenced modifications to 'x'}} in testb()
683 // cxx17-warning@-1 {{multiple unsequenced modifications to 'x'}} in testb()
693 ++x + ++x; // cxx11-warning {{multiple unsequenced modifications to 'x'}} in testb()
694 // cxx17-warning@-1 {{multiple unsequenced modifications to 'x'}} in testb()
707 ++x + ++x; // cxx11-warning {{multiple unsequenced modifications to 'x'}} in testc()
708 // cxx17-warning@-1 {{multiple unsequenced modifications to 'x'}} in testc()
716 ++x + ++x; // cxx11-warning {{multiple unsequenced modifications to 'x'}} in testc()
717 // cxx17-warning@-1 {{multiple unsequenced modifications to 'x'}} in testc()
728 ++x + ++x; // cxx11-warning {{multiple unsequenced modifications to 'x'}} in testd()
729 // cxx17-warning@-1 {{multiple unsequenced modifications to 'x'}} in testd()
739 ++x + ++x; // cxx11-warning {{multiple unsequenced modifications to 'x'}} in testd()
740 // cxx17-warning@-1 {{multiple unsequenced modifications to 'x'}} in testd()
785 // cxx11-warning@-1 {{multiple unsequenced modifications to 'num'}} in Run()
786 // cxx17-warning@-2 {{multiple unsequenced modifications to 'num'}} in Run()
808 var<int>++ + var<int>++; // cxx11-warning {{multiple unsequenced modifications to 'var<int>'}} in test_var()
809 // cxx17-warning@-1 {{multiple unsequenced modifications to 'var<int>'}} in test_var()
813 r++ + var<int>++; // no-warning TODO {{multiple unsequenced modifications to 'var<int>'}} in test_var()