| 68 | } |
| 69 | |
| 70 | bool isLessThan(MathLib::bigint x, std::vector<const ValueFlow::Value*>* ref = nullptr) const |
| 71 | { |
| 72 | if (!this->maxvalue.empty() && this->maxvalue.front() < x) { |
| 73 | if (ref) |
| 74 | *ref = maxRef; |
| 75 | return true; |
| 76 | } |
| 77 | return false; |
| 78 | } |
| 79 | |
| 80 | bool isGreaterThan(MathLib::bigint x, std::vector<const ValueFlow::Value*>* ref = nullptr) const |
| 81 | { |