| 265 | static ValueFlow::Value execute(const Token* expr, ProgramMemory& pm, const Settings& settings); |
| 266 | |
| 267 | static bool evaluateCondition(MathLib::bigint r, const Token* condition, ProgramMemory& pm, const Settings& settings) |
| 268 | { |
| 269 | if (!condition) |
| 270 | return false; |
| 271 | MathLib::bigint result = 0; |
| 272 | bool error = false; |
| 273 | execute(condition, pm, &result, &error, settings); |
| 274 | return !error && result == r; |
| 275 | } |
| 276 | |
| 277 | bool conditionIsFalse(const Token* condition, ProgramMemory pm, const Settings& settings) |
| 278 | { |
no test coverage detected