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

Function compileXor

lib/tokenlist.cpp:1363–1371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1361}
1362
1363static void compileXor(Token *&tok, AST_state& state)
1364{
1365 compileAnd(tok, state);
1366 while (tok) {
1367 if (tok->str() == "^") {
1368 compileBinOp(tok, state, compileAnd);
1369 } else break;
1370 }
1371}
1372
1373static void compileOr(Token *&tok, AST_state& state)
1374{

Callers 1

compileOrFunction · 0.85

Calls 3

compileAndFunction · 0.85
compileBinOpFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected