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

Method setIntValue

lib/programmemory.cpp:109–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void ProgramMemory::setIntValue(const Token* expr, MathLib::bigint value, bool impossible)
110{
111 ValueFlow::Value v(value);
112 if (impossible)
113 v.setImpossible();
114 setValue(expr, v);
115}
116
117bool ProgramMemory::getTokValue(nonneg int exprid, const Token*& result) const
118{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected