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

Function compileRelComp

lib/tokenlist.cpp:1324–1332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1322}
1323
1324static void compileRelComp(Token *&tok, AST_state& state)
1325{
1326 compileThreewayComp(tok, state);
1327 while (tok) {
1328 if (Token::Match(tok, "<|<=|>=|>") && !tok->link()) {
1329 compileBinOp(tok, state, compileThreewayComp);
1330 } else break;
1331 }
1332}
1333
1334static void compileEqComp(Token *&tok, AST_state& state)
1335{

Callers 1

compileEqCompFunction · 0.85

Calls 2

compileThreewayCompFunction · 0.85
compileBinOpFunction · 0.85

Tested by

no test coverage detected