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

Function compileThreewayComp

lib/tokenlist.cpp:1314–1322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1312}
1313
1314static void compileThreewayComp(Token *&tok, AST_state& state)
1315{
1316 compileShift(tok, state);
1317 while (tok) {
1318 if (tok->str() == "<=>") {
1319 compileBinOp(tok, state, compileShift);
1320 } else break;
1321 }
1322}
1323
1324static void compileRelComp(Token *&tok, AST_state& state)
1325{

Callers 1

compileRelCompFunction · 0.85

Calls 3

compileShiftFunction · 0.85
compileBinOpFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected