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

Function compileLogicOr

lib/tokenlist.cpp:1402–1410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1400}
1401
1402static void compileLogicOr(Token *&tok, AST_state& state)
1403{
1404 compileLogicAnd(tok, state);
1405 while (tok) {
1406 if (tok->str() == "||") {
1407 compileBinOp(tok, state, compileLogicAnd);
1408 } else break;
1409 }
1410}
1411
1412static void compileAssignTernary(Token *&tok, AST_state& state)
1413{

Callers 1

compileAssignTernaryFunction · 0.85

Calls 3

compileLogicAndFunction · 0.85
compileBinOpFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected