MCPcopy Create free account
hub / github.com/Kitware/CMake / Compare

Method Compare

Source/cmValue.cxx:92–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92int cmValue::Compare(cmValue value) const noexcept
93{
94 if (!this->Value && !value) {
95 return 0;
96 }
97 if (!this->Value) {
98 return -1;
99 }
100 if (!value) {
101 return 1;
102 }
103 return this->Value->compare(*value);
104}
105
106int cmValue::Compare(cm::string_view value) const noexcept
107{

Callers 15

UpdateDependenciesMethod · 0.45
HandleCompareCommandFunction · 0.45
EvaluateMethod · 0.45
EvaluateMethod · 0.45
EvaluateMethod · 0.45
EvaluateMethod · 0.45
EvaluateMethod · 0.45
CheckDependenciesMethod · 0.45
cmakeCheckStampFileFunction · 0.45
CheckBuildSystemMethod · 0.45
operator==Function · 0.45
operator!=Function · 0.45

Calls 2

compareMethod · 0.45
dataMethod · 0.45

Tested by 1

operator()Method · 0.36