MCPcopy Create free account
hub / github.com/cpputest/cpputest / clear

Method clear

src/CppUTestExt/MockNamedValue.cpp:564–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564void MockNamedValueList::clear()
565{
566 while (head_) {
567 MockNamedValueListNode* n = head_->next();
568 head_->destroy();
569 delete head_;
570 head_ = n;
571 }
572}
573
574void MockNamedValueList::add(MockNamedValue* newValue)
575{

Callers

nothing calls this directly

Calls 2

nextMethod · 0.80
destroyMethod · 0.80

Tested by

no test coverage detected