MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / clear

Function clear

externals/simplecpp/simplecpp.h:475–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473 }
474
475 void clear() {
476 mNameMap.clear();
477 mIdMap.clear();
478 mData.clear();
479 }
480
481 using container_type = std::vector<std::unique_ptr<FileData>>;
482 using iterator = container_type::iterator;

Callers 5

~TokenListMethod · 0.70
simplecpp.cppFile · 0.70
readfileMethod · 0.70
readUntilMethod · 0.70
~valueMethod · 0.50

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected