| 218 | } |
| 219 | |
| 220 | static void setValueBound(ValueFlow::Value& value, const Token* tok, bool invert) |
| 221 | { |
| 222 | if (Token::Match(tok, "<|<=")) { |
| 223 | setValueUpperBound(value, !invert); |
| 224 | } else if (Token::Match(tok, ">|>=")) { |
| 225 | setValueUpperBound(value, invert); |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | static void setConditionalValue(ValueFlow::Value& value, const Token* tok, MathLib::bigint i) |
| 230 | { |
no test coverage detected