| 1570 | } |
| 1571 | |
| 1572 | static void setTypes(TokenList &tokenList) |
| 1573 | { |
| 1574 | for (Token *tok = tokenList.front(); tok; tok = tok->next()) { |
| 1575 | if (Token::simpleMatch(tok, "sizeof (")) { |
| 1576 | for (Token *typeToken = tok->tokAt(2); typeToken->str() != ")"; typeToken = typeToken->next()) { |
| 1577 | if (typeToken->type()) |
| 1578 | continue; |
| 1579 | typeToken->type(typeToken->scope()->findType(typeToken->str())); |
| 1580 | } |
| 1581 | } |
| 1582 | } |
| 1583 | } |
| 1584 | |
| 1585 | static void setValues(const Tokenizer &tokenizer, const SymbolDatabase *symbolDatabase) |
| 1586 | { |
no test coverage detected