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

Function erase

lib/checkleakautovar.h:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 void erase(nonneg int varid) {
73 alloctype.erase(varid);
74 possibleUsage.erase(varid);
75 conditionalAlloc.erase(varid);
76 referenced.erase(varid);
77 }
78
79 void swap(VarInfo &other) noexcept {
80 alloctype.swap(other.alloctype);

Callers 2

eraseAliasesMethod · 0.85
eraseAllMethod · 0.85

Calls 1

eraseMethod · 0.45

Tested by

no test coverage detected