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

Function compileShift

lib/tokenlist.cpp:1304–1312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1302}
1303
1304static void compileShift(Token *&tok, AST_state& state)
1305{
1306 compileAddSub(tok, state);
1307 while (tok) {
1308 if (Token::Match(tok, "<<|>>")) {
1309 compileBinOp(tok, state, compileAddSub);
1310 } else break;
1311 }
1312}
1313
1314static void compileThreewayComp(Token *&tok, AST_state& state)
1315{

Callers 1

compileThreewayCompFunction · 0.85

Calls 2

compileAddSubFunction · 0.85
compileBinOpFunction · 0.85

Tested by

no test coverage detected