Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
64
static bool isRefPtrArg(const Token *tok)
65
{
66
const Variable *var = tok->variable();
67
return (var && var->isArgument() && var->isReference() && var->isPointer());
68
}
69
70
static bool isNonReferenceArg(const Token *tok)
71
{
Callers
1
autoVariables
Method · 0.85
Calls
1
variable
Method · 0.80
Tested by
no test coverage detected