Home | History | Annotate | Download | only in c2hal

Lines Matching refs:it

141     auto it = mDeclarations->begin();
142 while (it != mDeclarations->end()) {
143 if ((*it)->decType() == CompositeDeclaration::type()
144 && ((CompositeDeclaration *) (*it))->isInterface()) {
146 mInterfaces->push_back((CompositeDeclaration *) *it);
147 it = mDeclarations->erase(it);
149 it++;
160 auto it = mDeclarations->begin();
161 while (it != mDeclarations->end()) {
162 if ((*it)->decType() == FunctionDeclaration::type()) {
164 globalFuns->push_back(*it);
165 it = mDeclarations->erase(it);
167 it++;
187 auto it = mDeclarations->begin();
188 while (it != mDeclarations->end()) {
189 if ((*it)->decType() == Include::type()) {
191 mIncludes->push_back((Include *) *it);
192 it = mDeclarations->erase(it);
194 it++;
202 auto it = mDeclarations->begin();
203 while (it != mDeclarations->end()) {
204 if ((*it)->decType() == Define::type() &&
205 ((Define *)*it)->getExpressionType() == ofType) {
207 Define* define = (Define *)*it;
215 it = mDeclarations->erase(it);
219 it++;