| 165 | } |
| 166 | |
| 167 | bool astHasExpr(const Token* tok, nonneg int exprid) |
| 168 | { |
| 169 | if (!tok) |
| 170 | return false; |
| 171 | if (tok->exprId() == exprid) |
| 172 | return true; |
| 173 | return astHasExpr(tok->astOperand1(), exprid) || astHasExpr(tok->astOperand2(), exprid); |
| 174 | } |
| 175 | |
| 176 | static bool astIsCharWithSign(const Token *tok, ValueType::Sign sign) |
| 177 | { |
no test coverage detected