Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ astIsLhs
Function
astIsLhs
lib/checkuninitvar.cpp:1144–1147 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1142
}
1143
1144
static bool astIsLhs(const Token *tok)
1145
{
1146
return tok && tok->astParent() && tok == tok->astParent()->astOperand1();
1147
}
1148
1149
static bool astIsRhs(const Token *tok)
1150
{
Callers
1
isVariableUsage
Method · 0.85
Calls
2
astParent
Method · 0.80
astOperand1
Method · 0.80
Tested by
no test coverage detected