Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ clear
Function
clear
lib/checkleakautovar.h:65–70 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
63
std::set<int> referenced;
64
65
void clear() {
66
alloctype.clear();
67
possibleUsage.clear();
68
conditionalAlloc.clear();
69
referenced.clear();
70
}
71
72
void erase(nonneg int varid) {
73
alloctype.erase(varid);
Callers
nothing calls this directly
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected