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

Function compileOr

lib/tokenlist.cpp:1373–1381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1371}
1372
1373static void compileOr(Token *&tok, AST_state& state)
1374{
1375 compileXor(tok, state);
1376 while (tok) {
1377 if (tok->str() == "|") {
1378 compileBinOp(tok, state, compileXor);
1379 } else break;
1380 }
1381}
1382
1383static void compileLogicAnd(Token *&tok, AST_state& state)
1384{

Callers 1

compileLogicAndFunction · 0.85

Calls 3

compileXorFunction · 0.85
compileBinOpFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected