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

Method getScalarRef

lib/infer.cpp:108–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 std::vector<const ValueFlow::Value*> getScalarRef() const
109 {
110 assert(isScalar());
111 if (minRef != maxRef)
112 return merge(minRef, maxRef);
113 return minRef;
114 }
115
116 static Interval fromInt(MathLib::bigint x, const ValueFlow::Value* ref = nullptr)
117 {

Callers 2

equalMethod · 0.80
inferFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected