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

Method ~Variable

src/Variable.cpp:470–481  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

468 *
469 */
470Variable::~Variable(void)
471{
472 // delete field vars explicitly because they are not stored in AllVars anymore
473 vector<Variable *>::iterator i;
474 for(i = field_vars.begin(); i != field_vars.end(); ++i)
475 delete (*i);
476 field_vars.clear();
477 if (init) {
478 delete init;
479 init = NULL;
480 }
481}
482
483// --------------------------------------------------------------
484bool

Callers

nothing calls this directly

Calls 3

beginMethod · 0.80
endMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected