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

Function compileEqComp

lib/tokenlist.cpp:1334–1342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1332}
1333
1334static void compileEqComp(Token *&tok, AST_state& state)
1335{
1336 compileRelComp(tok, state);
1337 while (tok) {
1338 if (Token::Match(tok, "==|!=")) {
1339 compileBinOp(tok, state, compileRelComp);
1340 } else break;
1341 }
1342}
1343
1344static void compileAnd(Token *&tok, AST_state& state)
1345{

Callers 1

compileAndFunction · 0.85

Calls 2

compileRelCompFunction · 0.85
compileBinOpFunction · 0.85

Tested by

no test coverage detected