| 57 | } |
| 58 | |
| 59 | static bool hasFunctionCall(const Token *tok) |
| 60 | { |
| 61 | if (!tok) |
| 62 | return false; |
| 63 | if (Token::Match(tok, "%name% (")) |
| 64 | // todo, const/pure function? |
| 65 | return true; |
| 66 | return hasFunctionCall(tok->astOperand1()) || hasFunctionCall(tok->astOperand2()); |
| 67 | } |
| 68 | |
| 69 | static bool hasGccCompoundStatement(const Token *tok) |
| 70 | { |
no test coverage detected