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

Function astIsPointer

lib/astutils.cpp:235–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235bool astIsPointer(const Token *tok)
236{
237 return tok && tok->valueType() && tok->valueType()->pointer;
238}
239
240bool astIsSmartPointer(const Token* tok)
241{

Callers 15

isNullablePointerFunction · 0.85
getLibraryContainerFunction · 0.85
setTokenValueFunction · 0.85
lifetimeTypeFunction · 0.85
hasUniqueOwnershipFunction · 0.85
isDecayedPointerFunction · 0.85
valueFlowLifetimeFunction · 0.85
isIntegralOrPointerFunction · 0.85
valueFlowInferConditionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected