MCPcopy Create free account
hub / github.com/csmith-project/csmith / ~Block

Method ~Block

src/Block.cpp:231–247  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

229 *
230 */
231Block::~Block(void)
232{
233 vector<Statement *>::iterator i;
234 for(i = stms.begin(); i != stms.end(); ++i) {
235 delete (*i);
236 }
237 stms.clear();
238
239 vector<Statement *>::iterator j;
240 for(j = deleted_stms.begin(); j != deleted_stms.end(); ++j) {
241 delete (*j);
242 }
243 deleted_stms.clear();
244
245 local_vars.clear();
246 macro_tmp_vars.clear();
247}
248
249
250std::string

Callers

nothing calls this directly

Calls 3

beginMethod · 0.80
endMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected