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

Method clear

lib/checkunusedvar.cpp:143–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 };
142
143 void clear() {
144 mVarUsage.clear();
145 }
146 void clearConst() {
147 std::set<int> keys;
148 for (const std::pair<const nonneg int, Variables::VariableUsage>& var : mVarUsage) {

Callers 4

aliasMethod · 0.45
clearAliasesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected