Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ clear
Method
clear
lib/programmemory.cpp:213–221 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
211
}
212
213
void ProgramMemory::clear()
214
{
215
if (mValues->empty())
216
return;
217
218
copyOnWrite();
219
220
mValues->clear();
221
}
222
223
bool ProgramMemory::empty() const
224
{
Callers
15
getMinFormatStringOutputLength
Function · 0.45
arrayIndex
Method · 0.45
isScopeNoReturn
Method · 0.45
checkFormatString
Method · 0.45
deallocateTokens
Method · 0.45
createTokens
Method · 0.45
validateAst
Method · 0.45
setTokenValue
Function · 0.45
clear
Function · 0.45
setValueType
Method · 0.45
useDefaultArgumentValues
Method · 0.45
getTemplateParametersInDeclaration
Method · 0.45
Calls
1
empty
Method · 0.45
Tested by
no test coverage detected