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

Function astIsSmartPointer

lib/astutils.cpp:240–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240bool astIsSmartPointer(const Token* tok)
241{
242 return tok && tok->valueType() && tok->valueType()->smartPointerTypeToken;
243}
244
245bool astIsUniqueSmartPointer(const Token* tok)
246{

Callers 12

isPointerDeRefMethod · 0.85
isNullablePointerFunction · 0.85
assertWithSideEffectsMethod · 0.85
valueFlowSmartPointerFunction · 0.85
analyzeMatchFunction · 0.85
setupExprVarIdsMethod · 0.85
typeDeclMethod · 0.85
astIsUniqueSmartPointerFunction · 0.85
getParentLifetimeFunction · 0.85
isConstFunctionCallFunction · 0.85
isVariableChangedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected