MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / astIsContainer

Function astIsContainer

lib/astutils.cpp:259–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259bool astIsContainer(const Token* tok) {
260 return getLibraryContainer(tok) != nullptr && !astIsIterator(tok);
261}
262
263bool astIsNonStringContainer(const Token* tok)
264{

Callers 15

arrayIndexMethod · 0.85
getContainerFromYieldMethod · 0.85
setTokenValueFunction · 0.85
valueFlowArrayElementFunction · 0.85
getLifetimeTokensFunction · 0.85
valueFlowLifetimeFunction · 0.85
valueFlowAfterAssignFunction · 0.85
valueFlowIteratorsFunction · 0.85

Calls 2

getLibraryContainerFunction · 0.85
astIsIteratorFunction · 0.85

Tested by

no test coverage detected