Lines Matching refs:i2

18   const auto i2 = return_any_iterator(V.begin());  in test_find1()  local
20 const auto i3 = std::find(i1, i2, n); in test_find1()
22 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find1()
24 if (i3 != i2) { in test_find1()
31 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find1()
33 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find1()
39 const auto i2 = return_any_iterator(V.begin()); in test_find2() local
41 const auto i3 = std::find(std::execution::sequenced_policy(), i1, i2, n); in test_find2()
43 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find2()
45 if (i3 != i2) { in test_find2()
52 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find2()
54 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find2()
62 const auto i2 = return_any_iterator(V.begin()); in test_find_if1() local
64 const auto i3 = std::find_if(i1, i2, odd); in test_find_if1()
66 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find_if1()
68 if (i3 != i2) { in test_find_if1()
75 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find_if1()
77 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find_if1()
83 const auto i2 = return_any_iterator(V.begin()); in test_find_if2() local
85 const auto i3 = std::find_if(std::execution::sequenced_policy(), i1, i2, odd); in test_find_if2()
87 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find_if2()
89 if (i3 != i2) { in test_find_if2()
96 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find_if2()
98 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find_if2()
104 const auto i2 = return_any_iterator(V.begin()); in test_find_if_not1() local
106 const auto i3 = std::find_if_not(i1, i2, odd); in test_find_if_not1()
108 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find_if_not1()
110 if (i3 != i2) { in test_find_if_not1()
117 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find_if_not1()
119 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find_if_not1()
125 const auto i2 = return_any_iterator(V.begin()); in test_find_if_not2() local
127 const auto i3 = std::find_if_not(std::execution::sequenced_policy(), i1, i2, in test_find_if_not2()
130 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find_if_not2()
132 if (i3 != i2) { in test_find_if_not2()
139 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find_if_not2()
141 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find_if_not2()
147 const auto i2 = return_any_iterator(V1.begin()); in test_find_first_of1() local
151 const auto i5 = std::find_first_of(i1, i2, i3, i4); in test_find_first_of1()
153 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find_first_of1()
155 if (i5 != i2) { in test_find_first_of1()
162 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find_first_of1()
164 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find_first_of1()
170 const auto i2 = return_any_iterator(V1.begin()); in test_find_first_of2() local
175 i1, i2, i3, i4); in test_find_first_of2()
177 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find_first_of2()
179 if (i5 != i2) { in test_find_first_of2()
186 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find_first_of2()
188 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find_first_of2()
194 const auto i2 = return_any_iterator(V1.begin()); in test_find_first_of3() local
198 const auto i5 = std::find_first_of(i1, i2, i3, i4, odd); in test_find_first_of3()
200 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find_first_of3()
202 if (i5 != i2) { in test_find_first_of3()
209 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find_first_of3()
211 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find_first_of3()
217 const auto i2 = return_any_iterator(V1.begin()); in test_find_first_of4() local
222 i1, i2, i3, i4, odd); in test_find_first_of4()
224 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find_first_of4()
226 if (i5 != i2) { in test_find_first_of4()
233 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find_first_of4()
235 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find_first_of4()
241 const auto i2 = return_any_iterator(V1.begin()); in test_find_end1() local
245 const auto i5 = std::find_end(i1, i2, i3, i4); in test_find_end1()
247 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find_end1()
249 if (i5 != i2) { in test_find_end1()
256 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find_end1()
258 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find_end1()
264 const auto i2 = return_any_iterator(V1.begin()); in test_find_end2() local
269 i1, i2, i3, i4); in test_find_end2()
271 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find_end2()
273 if (i5 != i2) { in test_find_end2()
280 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find_end2()
282 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find_end2()
288 const auto i2 = return_any_iterator(V1.begin()); in test_find_end3() local
292 const auto i5 = std::find_end(i1, i2, i3, i4, odd); in test_find_end3()
294 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find_end3()
296 if (i5 != i2) { in test_find_end3()
303 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find_end3()
305 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find_end3()
311 const auto i2 = return_any_iterator(V1.begin()); in test_find_end4() local
316 i1, i2, i3, i4, odd); in test_find_end4()
318 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_find_end4()
320 if (i5 != i2) { in test_find_end4()
327 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_find_end4()
329 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_find_end4()
337 const auto i2 = return_any_iterator(V.begin()); in test_lower_bound1() local
339 const auto i3 = std::lower_bound(i1, i2, n); in test_lower_bound1()
341 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_lower_bound1()
343 if (i3 != i2) { in test_lower_bound1()
350 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_lower_bound1()
352 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_lower_bound1()
358 const auto i2 = return_any_iterator(V.begin()); in test_lower_bound2() local
360 const auto i3 = std::lower_bound(i1, i2, n, compare); in test_lower_bound2()
362 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_lower_bound2()
364 if (i3 != i2) { in test_lower_bound2()
371 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_lower_bound2()
373 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_lower_bound2()
379 const auto i2 = return_any_iterator(V.begin()); in test_upper_bound1() local
381 const auto i3 = std::upper_bound(i1, i2, n); in test_upper_bound1()
383 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_upper_bound1()
385 if (i3 != i2) { in test_upper_bound1()
392 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_upper_bound1()
394 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_upper_bound1()
400 const auto i2 = return_any_iterator(V.begin()); in test_upper_bound2() local
402 const auto i3 = std::upper_bound(i1, i2, n, compare); in test_upper_bound2()
404 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_upper_bound2()
406 if (i3 != i2) { in test_upper_bound2()
413 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_upper_bound2()
415 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_upper_bound2()
421 const auto i2 = return_any_iterator(V1.begin()); in test_search1() local
425 const auto i5 = std::search(i1, i2, i3, i4); in test_search1()
427 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_search1()
429 if (i5 != i2) { in test_search1()
436 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_search1()
438 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_search1()
444 const auto i2 = return_any_iterator(V1.begin()); in test_search2() local
449 i1, i2, i3, i4); in test_search2()
451 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_search2()
453 if (i5 != i2) { in test_search2()
460 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_search2()
462 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_search2()
468 const auto i2 = return_any_iterator(V1.begin()); in test_search3() local
472 const auto i5 = std::search(i1, i2, i3, i4, odd); in test_search3()
474 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_search3()
476 if (i5 != i2) { in test_search3()
483 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_search3()
485 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_search3()
491 const auto i2 = return_any_iterator(V1.begin()); in test_search4() local
496 i1, i2, i3, i4, odd); in test_search4()
498 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_search4()
500 if (i5 != i2) { in test_search4()
507 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_search4()
509 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_search4()
515 const auto i2 = return_any_iterator(V1.begin()); in test_search5() local
519 const auto i5 = std::search(i1, i2, std::default_searcher(i3, i4)); in test_search5()
521 clang_analyzer_eval(i5 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_search5()
523 if (i5 != i2) { in test_search5()
530 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_search5()
532 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_search5()
538 const auto i2 = return_any_iterator(V.begin()); in test_search_n1() local
540 const auto i3 = std::search_n(i1, i2, 2, n); in test_search_n1()
542 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_search_n1()
544 if (i3 != i2) { in test_search_n1()
551 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_search_n1()
553 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_search_n1()
559 const auto i2 = return_any_iterator(V.begin()); in test_search_n2() local
562 i1, i2, 2, n); in test_search_n2()
564 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_search_n2()
566 if (i3 != i2) { in test_search_n2()
573 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_search_n2()
575 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_search_n2()
581 const auto i2 = return_any_iterator(V.begin()); in test_search_n3() local
583 const auto i3 = std::search_n(i1, i2, 2, n, compare); in test_search_n3()
585 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_search_n3()
587 if (i3 != i2) { in test_search_n3()
594 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_search_n3()
596 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_search_n3()
602 const auto i2 = return_any_iterator(V.begin()); in test_search_n4() local
605 i1, i2, 2, n, compare); in test_search_n4()
607 clang_analyzer_eval(i3 == i2); // expected-warning{{TRUE}} expected-warning{{FALSE}} in test_search_n4()
609 if (i3 != i2) { in test_search_n4()
616 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{TRUE}} in test_search_n4()
618 clang_analyzer_iterator_position(i2)); // expected-warning@-1{{FALSE}} in test_search_n4()