Lines Matching refs:GoodIter
373 class GoodIter {
375 GoodIter() {}
376 GoodIter(const GoodIter &) {}
377 GoodIter(int fst, int snd) {}
378 GoodIter &operator=(const GoodIter &that) { return *this; }
379 GoodIter &operator=(const Iter0 &that) { return *this; }
380 GoodIter &operator+=(int x) { return *this; }
381 explicit GoodIter(void *) {}
382 GoodIter operator++() { return *this; }
383 GoodIter operator--() { return *this; }
385 bool operator<(GoodIter a) { return true; }
386 bool operator<=(GoodIter a) { return true; }
387 bool operator>=(GoodIter a) { return false; }
391 int operator-(GoodIter a, GoodIter b) { return 0; }
392 GoodIter operator-(GoodIter a) { return a; }
393 GoodIter operator-(GoodIter a, int v) { return GoodIter(); }
394 GoodIter operator+(GoodIter a, int v) { return GoodIter(); }
395 GoodIter operator-(int v, GoodIter a) { return GoodIter(); }
396 GoodIter operator+(int v, GoodIter a) { return GoodIter(); }
399 GoodIter begin, end;
403 for (GoodIter I = begin; I < end; ++I)
408 for (GoodIter &I = begin; I < end; ++I)
412 for (GoodIter I = begin; I >= end; --I)
417 for (GoodIter I(begin); I < end; ++I)
422 for (GoodIter I(nullptr); I < end; ++I)
427 for (GoodIter I(0); I < end; ++I)
432 for (GoodIter I(1, 2); I < end; ++I)
436 for (begin = GoodIter(0); begin < end; ++begin)
454 for (GoodIter I = begin; I - I; ++I)
459 for (GoodIter I = begin; begin < end; ++I)
464 for (GoodIter I = begin; !I; ++I)
470 for (GoodIter I = begin; I >= end; I = I + 1)
474 for (GoodIter I = begin; I >= end; I = I - 1)
479 for (GoodIter I = begin; I >= end; I = -I)
485 for (GoodIter I = begin; I >= end; I = 2 + I)
490 for (GoodIter I = begin; I >= end; I = 2 - I)
584 GoodIter begin, end;
585 TC<GoodIter, 100> t1;
586 TC<GoodIter, -100> t2;
588 t2.dotest_lt(begin, end); // expected-note {{in instantiation of member function 'TC<GoodIter, -100>::dotest_lt' requested here}}
589 dotest_gt(begin, end); // expected-note {{in instantiation of function template specialization 'dotest_gt<GoodIter, 0>' requested here}}