MCPcopy 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
1144static bool astIsLhs(const Token *tok)
1145{
1146 return tok && tok->astParent() && tok == tok->astParent()->astOperand1();
1147}
1148
1149static bool astIsRhs(const Token *tok)
1150{

Callers 1

isVariableUsageMethod · 0.85

Calls 2

astParentMethod · 0.80
astOperand1Method · 0.80

Tested by

no test coverage detected