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

Method setMaxValue

lib/infer.cpp:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 void setMaxValue(MathLib::bigint x, const ValueFlow::Value* ref = nullptr)
64 {
65 maxvalue = {x};
66 if (ref)
67 maxRef = {ref};
68 }
69
70 bool isLessThan(MathLib::bigint x, std::vector<const ValueFlow::Value*>* ref = nullptr) const
71 {

Callers 2

fromIntMethod · 0.80
fromValuesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected