| 78 | } |
| 79 | |
| 80 | bool isGreaterThan(MathLib::bigint x, std::vector<const ValueFlow::Value*>* ref = nullptr) const |
| 81 | { |
| 82 | if (!this->minvalue.empty() && this->minvalue.front() > x) { |
| 83 | if (ref) |
| 84 | *ref = minRef; |
| 85 | return true; |
| 86 | } |
| 87 | return false; |
| 88 | } |
| 89 | |
| 90 | bool isScalar() const { |
| 91 | return minvalue.size() == 1 && minvalue == maxvalue; |