| 1926 | } |
| 1927 | |
| 1928 | const ValueFlow::Value * Token::getValueLE(const MathLib::bigint val, const Settings &settings) const |
| 1929 | { |
| 1930 | if (!mImpl->mValues) |
| 1931 | return nullptr; |
| 1932 | return ValueFlow::findValue(*mImpl->mValues, settings, [&](const ValueFlow::Value& v) { |
| 1933 | return !v.isImpossible() && v.isIntValue() && v.intvalue <= val; |
| 1934 | }); |
| 1935 | } |
| 1936 | |
| 1937 | const ValueFlow::Value * Token::getValueGE(const MathLib::bigint val, const Settings &settings) const |
| 1938 | { |
no test coverage detected