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

Method setUnknown

lib/programmemory.cpp:162–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void ProgramMemory::setUnknown(const Token* expr) {
163 copyOnWrite();
164
165 (*mValues)[expr].valueType = ValueFlow::Value::ValueType::UNINIT;
166}
167
168bool ProgramMemory::hasValue(nonneg int exprid) const
169{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected