MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / getValueGE

Method getValueGE

lib/token.cpp:1937–1944  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1935}
1936
1937const ValueFlow::Value * Token::getValueGE(const MathLib::bigint val, const Settings &settings) const
1938{
1939 if (!mImpl->mValues)
1940 return nullptr;
1941 return ValueFlow::findValue(*mImpl->mValues, settings, [&](const ValueFlow::Value& v) {
1942 return !v.isImpossible() && v.isIntValue() && v.intvalue >= val;
1943 });
1944}
1945
1946const ValueFlow::Value * Token::getValueNE(MathLib::bigint val) const
1947{

Calls 1

isImpossibleMethod · 0.80

Tested by

no test coverage detected