MCPcopy 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
275bool astIsContainerOwned(const Token* tok) {
276 return astIsContainer(tok) && !astIsContainerView(tok);
277}
278
279bool astIsContainerString(const Token* tok)
280{

Callers 5

hasUniqueOwnershipFunction · 0.85
valueFlowLifetimeFunction · 0.85

Calls 2

astIsContainerFunction · 0.85
astIsContainerViewFunction · 0.85

Tested by

no test coverage detected