Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ isArrayVar
Function
isArrayVar
lib/checkautovariables.cpp:58–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
}
57
58
static bool isArrayVar(const Token *tok)
59
{
60
const Variable *var = tok->variable();
61
return (var && var->isArray() && !var->isArgument());
62
}
63
64
static bool isRefPtrArg(const Token *tok)
65
{
Callers
1
autoVariables
Method · 0.85
Calls
2
variable
Method · 0.80
isArray
Method · 0.80
Tested by
no test coverage detected