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

Function compilePointerToElem

lib/tokenlist.cpp:1265–1273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1263}
1264
1265static void compilePointerToElem(Token *&tok, AST_state& state)
1266{
1267 compilePrecedence3(tok, state);
1268 while (tok) {
1269 if (Token::simpleMatch(tok, ". *")) {
1270 compileBinOp(tok, state, compilePrecedence3);
1271 } else break;
1272 }
1273}
1274
1275static void compileMulDiv(Token *&tok, AST_state& state)
1276{

Callers 1

compileMulDivFunction · 0.85

Calls 3

compilePrecedence3Function · 0.85
compileBinOpFunction · 0.85
simpleMatchFunction · 0.70

Tested by

no test coverage detected