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

Function setValueUpperBound

lib/valueflow.cpp:212–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212static void setValueUpperBound(ValueFlow::Value& value, bool upper)
213{
214 if (upper)
215 value.bound = ValueFlow::Value::Bound::Upper;
216 else
217 value.bound = ValueFlow::Value::Bound::Lower;
218}
219
220static void setValueBound(ValueFlow::Value& value, const Token* tok, bool invert)
221{

Callers 1

setValueBoundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected