| 294 | } |
| 295 | |
| 296 | static bool isTrue(const ValueFlow::Value& v) |
| 297 | { |
| 298 | if (v.isUninitValue()) |
| 299 | return false; |
| 300 | if (v.isImpossible()) |
| 301 | return v.intvalue == 0; |
| 302 | return v.intvalue != 0; |
| 303 | } |
| 304 | |
| 305 | static bool isFalse(const ValueFlow::Value& v) |
| 306 | { |
no test coverage detected