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

Function astIsRhs

lib/checkuninitvar.cpp:1149–1152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1147}
1148
1149static bool astIsRhs(const Token *tok)
1150{
1151 return tok && tok->astParent() && tok == tok->astParent()->astOperand2();
1152}
1153
1154const Token* CheckUninitVarImpl::isVariableUsage(const Token *vartok, const Library& library, bool pointer, Alloc alloc, int indirect)
1155{

Callers 1

isVariableUsageMethod · 0.85

Calls 2

astParentMethod · 0.80
astOperand2Method · 0.80

Tested by

no test coverage detected