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