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

Method hasValue

lib/programmemory.cpp:168–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168bool ProgramMemory::hasValue(nonneg int exprid) const
169{
170 const auto it = find(exprid);
171 return it != mValues->cend();
172}
173
174const ValueFlow::Value& ProgramMemory::at(nonneg int exprid) const {
175 const auto it = find(exprid);

Callers 5

valueFlowForLoop2Function · 0.45
executeMultiConditionMethod · 0.45
executeImplMethod · 0.45
executeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected