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

Function astIsIterator

lib/astutils.cpp:254–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254bool astIsIterator(const Token *tok)
255{
256 return tok && tok->valueType() && tok->valueType()->type == ValueType::Type::ITERATOR;
257}
258
259bool astIsContainer(const Token* tok) {
260 return getLibraryContainer(tok) != nullptr && !astIsIterator(tok);

Callers 15

isPointerDeRefMethod · 0.85
setTokenValueFunction · 0.85
valueFlowLifetimeFunction · 0.85
valueFlowInferConditionFunction · 0.85
getInitListSizeFunction · 0.85
setupExprVarIdsMethod · 0.85
matchMethod · 0.85
isWritableMethod · 0.85
isModifiedMethod · 0.85
typeDeclMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected