Home
last modified time | relevance | path

Searched refs:int_iterator (Results 1 – 2 of 2) sorted by relevance

/external/catch2/projects/SelfTest/UsageTests/
DToStringWhich.tests.cpp118 struct int_iterator { struct
125 int_iterator() = default;
126 int_iterator(int i) :val(i) {} in int_iterator() function
129 bool operator==(int_iterator rhs) const { return val == rhs.val; } in operator ==() argument
130 bool operator!=(int_iterator rhs) const { return val != rhs.val; } in operator !=() argument
131 int_iterator operator++() { ++val; return *this; } in operator ++() argument
132 int_iterator operator++(int) { in operator ++() argument
142 int_iterator begin() const { return int_iterator{ 1 }; } in begin()
143 int_iterator end() const { return {}; } in end()
152 int_iterator begin() const { return int_iterator{ 1 }; } in begin()
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-use-auto-iterator.cpp224 typedef std::vector<int>::iterator int_iterator; typedef
231 int_iterator more_sugar = Vec.begin(); in sugar()
268 int_iterator I = Vec.begin(); in pointer_to_iterator()
273 int_iterator *IPtr = &I; in pointer_to_iterator()
274 int_iterator &IRef = I; in pointer_to_iterator()
283 for (int_iterator I = Vec.begin(), E = Vec.end(); I != E; ++I) { in loop()