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

Method setMinValue

lib/infer.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 std::vector<const ValueFlow::Value*> minRef, maxRef;
55
56 void setMinValue(MathLib::bigint x, const ValueFlow::Value* ref = nullptr)
57 {
58 minvalue = {x};
59 if (ref)
60 minRef = {ref};
61 }
62
63 void setMaxValue(MathLib::bigint x, const ValueFlow::Value* ref = nullptr)
64 {

Callers 2

fromIntMethod · 0.80
fromValuesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected