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

Method isScalar

lib/infer.cpp:90–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 }
89
90 bool isScalar() const {
91 return minvalue.size() == 1 && minvalue == maxvalue;
92 }
93
94 bool empty() const {
95 return minvalue.empty() && maxvalue.empty();

Callers 2

equalMethod · 0.80
inferFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected