Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ astIsContainerOwned
Function
astIsContainerOwned
lib/astutils.cpp:275–277 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
273
}
274
275
bool astIsContainerOwned(const Token* tok) {
276
return astIsContainer(tok) && !astIsContainerView(tok);
277
}
278
279
bool astIsContainerString(const Token* tok)
280
{
Callers
5
valueFlowImpossibleValues
Function · 0.85
hasUniqueOwnership
Function · 0.85
valueFlowLifetimeConstructor
Function · 0.85
valueFlowLifetime
Function · 0.85
isSameIteratorContainerExpression
Function · 0.85
Calls
2
astIsContainer
Function · 0.85
astIsContainerView
Function · 0.85
Tested by
no test coverage detected