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

Method clear

src/SimpleDeltaSequence.cpp:182–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182void
183SimpleDeltaSequence::clear()
184{
185 std::map<int, SimpleDeltaSequence::ValuePair*>::iterator i;
186 for (i = seq_map_.begin(); i != seq_map_.end(); ++i) {
187 assert((*i).second);
188 delete ((*i).second);
189 }
190 seq_map_.clear();
191}
192
193void SimpleDeltaSequence::output_one(ostream &out,
194 const SimpleDeltaSequence::ValuePair *p)

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected