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

Method ~ArrayVariable

src/ArrayVariable.cpp:215–225  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

213 *
214 */
215ArrayVariable::~ArrayVariable(void)
216{
217 // use Variable's destructor for collective variable
218 if (collective != 0) {
219 size_t i;
220 for (i=0; i<indices.size(); i++) {
221 delete indices[i];
222 }
223 init = NULL; // set to NULL to avoid being deleted twice
224 }
225}
226
227void
228ArrayVariable::add_index(const Expression* e)

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected