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

Function isRefPtrArg

lib/checkautovariables.cpp:64–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64static bool isRefPtrArg(const Token *tok)
65{
66 const Variable *var = tok->variable();
67 return (var && var->isArgument() && var->isReference() && var->isPointer());
68}
69
70static bool isNonReferenceArg(const Token *tok)
71{

Callers 1

autoVariablesMethod · 0.85

Calls 1

variableMethod · 0.80

Tested by

no test coverage detected