Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
alias
Method · 0.45
clearAliases
Method · 0.45
checkFunctionVariableUsage_iterateScopes
Method · 0.45
checkFunctionVariableUsage
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected