Lines Matching full:auto
11 auto i = V.begin(); in deref_begin()
16 auto i = ++V.begin(); in deref_begind_begin()
23 auto i = return_any_iterator(V.begin()); in deref_unknown()
28 auto i = --V.end(); in deref_ahead_of_end()
33 auto i = V.end(); in deref_end()
41 auto i = V.begin(); in incr_begin()
46 auto i = ++V.begin(); in incr_behind_begin()
51 auto i = return_any_iterator(V.begin()); in incr_unknown()
56 auto i = --V.end(); in incr_ahead_of_end()
61 auto i = V.end(); in incr_end()
69 auto i = V.begin(); in begin_incr()
74 auto i = ++V.begin(); in behind_begin_incr()
79 auto i = return_any_iterator(V.begin()); in unknown_incr()
84 auto i = --V.end(); in ahead_of_end_incr()
89 auto i = V.end(); in end_incr()
97 auto i = V.begin(); in decr_begin()
103 auto i = ++V.begin(); in decr_behind_begin()
108 auto i = return_any_iterator(V.begin()); in decr_unknown()
113 auto i = --V.end(); in decr_ahead_of_end()
118 auto i = V.end(); in decr_end()
125 auto i = V.begin(); in begin_decr()
131 auto i = ++V.begin(); in behind_begin_decr()
136 auto i = return_any_iterator(V.begin()); in unknown_decr()
141 auto i = --V.end(); in ahead_of_end_decr()
146 auto i = V.end(); in end_decr()
153 auto i = V.begin(); in incr_by_2_begin()
158 auto i = ++V.begin(); in incr_by_2_behind_begin()
163 auto i = return_any_iterator(V.begin()); in incr_by_2_unknown()
168 auto i = --V.end(); in incr_by_2_ahead_by_2_of_end()
174 auto i = --V.end(); in incr_by_2_ahead_of_end()
180 auto i = V.end(); in incr_by_2_end()
188 auto i = V.begin(); in incr_by_2_copy_begin()
189 auto j = i + 2; // no-warning in incr_by_2_copy_begin()
193 auto i = ++V.begin(); in incr_by_2_copy_behind_begin()
194 auto j = i + 2; // no-warning in incr_by_2_copy_behind_begin()
198 auto i = return_any_iterator(V.begin()); in incr_by_2_copy_unknown()
199 auto j = i + 2; // no-warning in incr_by_2_copy_unknown()
203 auto i = --V.end(); in incr_by_2_copy_ahead_by_2_of_end()
205 auto j = i + 2; // no-warning in incr_by_2_copy_ahead_by_2_of_end()
209 auto i = --V.end(); in incr_by_2_copy_ahead_of_end()
210 auto j = i + 2; // expected-warning{{Iterator incremented behind the past-the-end iterator}} in incr_by_2_copy_ahead_of_end()
215 auto i = V.end(); in incr_by_2_copy_end()
216 auto j = i + 2; // expected-warning{{Iterator incremented behind the past-the-end iterator}} in incr_by_2_copy_end()
223 auto i = V.begin(); in decr_by_2_begin()
229 auto i = ++V.begin(); in decr_by_2_behind_begin()
235 auto i = ++V.begin(); in decr_by_2_behind_begin_by_2()
241 auto i = return_any_iterator(V.begin()); in decr_by_2_unknown()
246 auto i = --V.end(); in decr_by_2_ahead_of_end()
251 auto i = V.end(); in decr_by_2_end()
258 auto i = V.begin(); in decr_by_2_copy_begin()
259 auto j = i - 2; // expected-warning{{Iterator decremented ahead of its valid range}} in decr_by_2_copy_begin()
264 auto i = ++V.begin(); in decr_by_2_copy_behind_begin()
265 auto j = i - 2; // expected-warning{{Iterator decremented ahead of its valid range}} in decr_by_2_copy_behind_begin()
270 auto i = ++V.begin(); in decr_by_2_copy_behind_begin_by_2()
272 auto j = i - 2; // no-warning in decr_by_2_copy_behind_begin_by_2()
276 auto i = return_any_iterator(V.begin()); in decr_by_2_copy_unknown()
277 auto j = i - 2; // no-warning in decr_by_2_copy_unknown()
281 auto i = --V.end(); in decr_by_2_copy_ahead_of_end()
282 auto j = i - 2; // no-warning in decr_by_2_copy_ahead_of_end()
286 auto i = V.end(); in decr_by_2_copy_end()
287 auto j = i - 2; // no-warning in decr_by_2_copy_end()
297 auto i = V.begin(); in subscript_zero_begin()
298 auto j = i[0]; // no-warning in subscript_zero_begin()
302 auto i = ++V.begin(); in subscript_zero_behind_begin()
303 auto j = i[0]; // no-warning in subscript_zero_behind_begin()
307 auto i = return_any_iterator(V.begin()); in subscript_zero_unknown()
308 auto j = i[0]; // no-warning in subscript_zero_unknown()
312 auto i = --V.end(); in subscript_zero_ahead_of_end()
313 auto j = i[0]; // no-warning in subscript_zero_ahead_of_end()
317 auto i = V.end(); in subscript_zero_end()
318 auto j = i[0]; // expected-warning{{Past-the-end iterator dereferenced}} in subscript_zero_end()
325 auto i = V.begin(); in subscript_negative_begin()
326 auto j = i[-1]; // no-warning FIXME: expect warning Iterator decremented ahead of its valid range in subscript_negative_begin()
330 auto i = ++V.begin(); in subscript_negative_behind_begin()
331 auto j = i[-1]; // no-warning in subscript_negative_behind_begin()
335 auto i = return_any_iterator(V.begin()); in subscript_negative_unknown()
336 auto j = i[-1]; // no-warning in subscript_negative_unknown()
340 auto i = --V.end(); in subscript_negative_ahead_of_end()
341 auto j = i[-1]; // no-warning in subscript_negative_ahead_of_end()
345 auto i = V.end(); in subscript_negative_end()
346 auto j = i[-1]; // expected-warning{{Past-the-end iterator dereferenced}} FIXME: expect no warning in subscript_negative_end()
353 auto i = V.begin(); in subscript_positive_begin()
354 auto j = i[1]; // no-warning in subscript_positive_begin()
358 auto i = ++V.begin(); in subscript_positive_behind_begin()
359 auto j = i[1]; // no-warning in subscript_positive_behind_begin()
363 auto i = return_any_iterator(V.begin()); in subscript_positive_unknown()
364 auto j = i[1]; // no-warning in subscript_positive_unknown()
368 auto i = --V.end(); in subscript_positive_ahead_of_end()
369 auto j = i[1]; // no-warning FIXME: expected warning Past-the-end iterator dereferenced in subscript_positive_ahead_of_end()
373 auto i = V.end(); in subscript_positive_end()
374 …auto j = i[1]; // expected-warning{{Past-the-end iterator dereferenced}} FIXME: expect warning Ite… in subscript_positive_end()
385 auto i = V.begin(); in advance_plus_1_begin()
390 auto i = ++V.begin(); in advance_plus_1_behind_begin()
395 auto i = return_any_iterator(V.begin()); in advance_plus_1_unknown()
400 auto i = --V.end(); in advance_plus_1_ahead_of_end()
405 auto i = V.end(); in advance_plus_1_end()
413 auto i = V.begin(); in advance_minus_1_begin()
419 auto i = ++V.begin(); in advance_minus_1_behind_begin()
424 auto i = return_any_iterator(V.begin()); in advance_minus_1_unknown()
429 auto i = --V.end(); in advance_minus_1_ahead_of_end()
434 auto i = V.end(); in advance_minus_1_end()
441 auto i = V.begin(); in advance_plus_2_begin()
446 auto i = ++V.begin(); in advance_plus_2_behind_begin()
451 auto i = return_any_iterator(V.begin()); in advance_plus_2_unknown()
456 auto i = --V.end(); in advance_plus_2_ahead_of_end()
462 auto i = V.end(); in advance_plus_2_end()
470 auto i = V.begin(); in advance_minus_2_begin()
476 auto i = ++V.begin(); in advance_minus_2_behind_begin()
482 auto i = return_any_iterator(V.begin()); in advance_minus_2_unknown()
487 auto i = --V.end(); in advance_minus_2_ahead_of_end()
492 auto i = V.end(); in advance_minus_2_end()
499 auto i = V.begin(); in advance_0_begin()
504 auto i = ++V.begin(); in advance_0_behind_begin()
509 auto i = return_any_iterator(V.begin()); in advance_0_unknown()
514 auto i = --V.end(); in advance_0_ahead_of_end()
519 auto i = V.end(); in advance_0_end()
530 auto i = V.begin(); in next_plus_1_begin()
531 auto j = std::next(i); // no-warning in next_plus_1_begin()
535 auto i = ++V.begin(); in next_plus_1_behind_begin()
536 auto j = std::next(i); // no-warning in next_plus_1_behind_begin()
540 auto i = return_any_iterator(V.begin()); in next_plus_1_unknown()
541 auto j = std::next(i); // no-warning in next_plus_1_unknown()
545 auto i = --V.end(); in next_plus_1_ahead_of_end()
546 auto j = std::next(i); // no-warning in next_plus_1_ahead_of_end()
550 auto i = V.end(); in next_plus_1_end()
551 …auto j = std::next(i); // expected-warning{{Iterator incremented behind the past-the-end iterator}} in next_plus_1_end()
558 auto i = V.begin(); in next_minus_1_begin()
559 auto j = std::next(i, -1); // expected-warning{{Iterator decremented ahead of its valid range}} in next_minus_1_begin()
564 auto i = ++V.begin(); in next_minus_1_behind_begin()
565 auto j = std::next(i, -1); // no-warning in next_minus_1_behind_begin()
569 auto i = return_any_iterator(V.begin()); in next_minus_1_unknown()
570 auto j = std::next(i, -1); // no-warning in next_minus_1_unknown()
574 auto i = --V.end(); in next_minus_1_ahead_of_end()
575 auto j = std::next(i, -1); // no-warning in next_minus_1_ahead_of_end()
579 auto i = V.end(); in next_minus_1_end()
580 auto j = std::next(i, -1); // no-warning in next_minus_1_end()
586 auto i = V.begin(); in next_plus_2_begin()
587 auto j = std::next(i, 2); // no-warning in next_plus_2_begin()
591 auto i = ++V.begin(); in next_plus_2_behind_begin()
592 auto j = std::next(i, 2); // no-warning in next_plus_2_behind_begin()
596 auto i = return_any_iterator(V.begin()); in next_plus_2_unknown()
597 auto j = std::next(i, 2); // no-warning in next_plus_2_unknown()
601 auto i = --V.end(); in next_plus_2_ahead_of_end()
602 …auto j = std::next(i, 2); // expected-warning{{Iterator incremented behind the past-the-end iterat… in next_plus_2_ahead_of_end()
607 auto i = V.end(); in next_plus_2_end()
608 …auto j = std::next(i, 2); // expected-warning{{Iterator incremented behind the past-the-end iterat… in next_plus_2_end()
615 auto i = V.begin(); in next_minus_2_begin()
616 auto j = std::next(i, -2); // expected-warning{{Iterator decremented ahead of its valid range}} in next_minus_2_begin()
621 auto i = ++V.begin(); in next_minus_2_behind_begin()
622 auto j = std::next(i, -2); // expected-warning{{Iterator decremented ahead of its valid range}} in next_minus_2_behind_begin()
627 auto i = return_any_iterator(V.begin()); in next_minus_2_unknown()
628 auto j = std::next(i, -2); // no-warning in next_minus_2_unknown()
632 auto i = --V.end(); in next_minus_2_ahead_of_end()
633 auto j = std::next(i, -2); // no-warning in next_minus_2_ahead_of_end()
637 auto i = V.end(); in next_minus_2_end()
638 auto j = std::next(i, -2); // no-warning in next_minus_2_end()
644 auto i = V.begin(); in next_0_begin()
645 auto j = std::next(i, 0); // no-warning in next_0_begin()
649 auto i = ++V.begin(); in next_0_behind_begin()
650 auto j = std::next(i, 0); // no-warning in next_0_behind_begin()
654 auto i = return_any_iterator(V.begin()); in next_0_unknown()
655 auto j = std::next(i, 0); // no-warning in next_0_unknown()
659 auto i = --V.end(); in next_0_ahead_of_end()
660 auto j = std::next(i, 0); // no-warning in next_0_ahead_of_end()
664 auto i = V.end(); in next_0_end()
665 auto j = std::next(i, 0); // no-warning in next_0_end()
675 auto i = V.begin(); in prev_plus_1_begin()
676 auto j = std::prev(i); // expected-warning{{Iterator decremented ahead of its valid range}} in prev_plus_1_begin()
681 auto i = ++V.begin(); in prev_plus_1_behind_begin()
682 auto j = std::prev(i); // no-warning in prev_plus_1_behind_begin()
686 auto i = return_any_iterator(V.begin()); in prev_plus_1_unknown()
687 auto j = std::prev(i); // no-warning in prev_plus_1_unknown()
691 auto i = --V.end(); in prev_plus_1_ahead_of_end()
692 auto j = std::prev(i); // no-warning in prev_plus_1_ahead_of_end()
696 auto i = V.end(); in prev_plus_1_end()
697 auto j = std::prev(i); // no-warning in prev_plus_1_end()
703 auto i = V.begin(); in prev_minus_1_begin()
704 auto j = std::prev(i, -1); // no-warning in prev_minus_1_begin()
708 auto i = ++V.begin(); in prev_minus_1_behind_begin()
709 auto j = std::prev(i, -1); // no-warning in prev_minus_1_behind_begin()
713 auto i = return_any_iterator(V.begin()); in prev_minus_1_unknown()
714 auto j = std::prev(i, -1); // no-warning in prev_minus_1_unknown()
718 auto i = --V.end(); in prev_minus_1_ahead_of_end()
719 auto j = std::prev(i, -1); // no-warning in prev_minus_1_ahead_of_end()
723 auto i = V.end(); in prev_minus_1_end()
724 …auto j = std::prev(i, -1); // expected-warning{{Iterator incremented behind the past-the-end itera… in prev_minus_1_end()
731 auto i = V.begin(); in prev_plus_2_begin()
732 auto j = std::prev(i, 2); // expected-warning{{Iterator decremented ahead of its valid range}} in prev_plus_2_begin()
737 auto i = ++V.begin(); in prev_plus_2_behind_begin()
738 auto j = std::prev(i, 2); // expected-warning{{Iterator decremented ahead of its valid range}} in prev_plus_2_behind_begin()
743 auto i = return_any_iterator(V.begin()); in prev_plus_2_unknown()
744 auto j = std::prev(i, 2); // no-warning in prev_plus_2_unknown()
748 auto i = --V.end(); in prev_plus_2_ahead_of_end()
749 auto j = std::prev(i, 2); // no-warning in prev_plus_2_ahead_of_end()
753 auto i = V.end(); in prev_plus_2_end()
754 auto j = std::prev(i, 2); // no-warning in prev_plus_2_end()
760 auto i = V.begin(); in prev_minus_2_begin()
761 auto j = std::prev(i, -2); // no-warning in prev_minus_2_begin()
765 auto i = ++V.begin(); in prev_minus_2_behind_begin()
766 auto j = std::prev(i, -2); // no-warning in prev_minus_2_behind_begin()
770 auto i = return_any_iterator(V.begin()); in prev_minus_2_unknown()
771 auto j = std::prev(i, -2); // no-warning in prev_minus_2_unknown()
775 auto i = --V.end(); in prev_minus_2_ahead_of_end()
776 …auto j = std::prev(i, -2); // expected-warning{{Iterator incremented behind the past-the-end itera… in prev_minus_2_ahead_of_end()
781 auto i = V.end(); in prev_minus_2_end()
782 …auto j = std::prev(i, -2); // expected-warning{{Iterator incremented behind the past-the-end itera… in prev_minus_2_end()
789 auto i = V.begin(); in prev_0_begin()
790 auto j = std::prev(i, 0); // no-warning in prev_0_begin()
794 auto i = ++V.begin(); in prev_0_behind_begin()
795 auto j = std::prev(i, 0); // no-warning in prev_0_behind_begin()
799 auto i = return_any_iterator(V.begin()); in prev_0_unknown()
800 auto j = std::prev(i, 0); // no-warning in prev_0_unknown()
804 auto i = --V.end(); in prev_0_ahead_of_end()
805 auto j = std::prev(i, 0); // no-warning in prev_0_ahead_of_end()
809 auto i = V.end(); in prev_0_end()
810 auto j = std::prev(i, 0); // no-warning in prev_0_end()
821 auto i = return_any_iterator(V.begin()); in prev_loc_value()
823 auto j = std::prev(i, offset); // no-warning in prev_loc_value()
837 auto i = V.begin(); in arrow_deref_begin()
842 auto i = V.end(); in arrow_deref_end()
850 const auto i = --V.end(); in deref_end_after_pop_back()
865 auto i = c.end(); in deref_end_ptr_iterator()
871 auto i = c.end(); in array_deref_end_ptr_iterator()
877 auto i = c.end(); in arrow_deref_end_ptr_iterator()
884 auto i = c.end(); in arrow_star_deref_end_ptr_iterator()
890 auto i = c.end(); in prefix_incr_end_ptr_iterator()
896 auto i = c.end(); in postfix_incr_end_ptr_iterator()
902 auto i = c.begin(); in prefix_decr_begin_ptr_iterator()
908 auto i = c.begin(); in postfix_decr_begin_ptr_iterator()
914 auto i = c.end(); in prefix_add_2_end_ptr_iterator()
920 auto i = c.end(); in postfix_add_assign_2_end_ptr_iterator()
926 auto i = c.begin(); in prefix_minus_2_begin_ptr_iterator()
933 auto i = c.begin(); in postfix_minus_assign_2_begin_ptr_iterator()
939 auto i0 = c.begin(), i1 = c.end(); in ptr_iter_diff()