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

Method SetName

Source/cmFindProgramCommand.cxx:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62 void AddName(std::string const& name) { this->Names.push_back(name); }
63 void SetName(std::string const& name)
64 {
65 this->Names.clear();
66 this->AddName(name);
67 }
68 bool CheckCompoundNames()
69 {
70 return std::any_of(this->Names.begin(), this->Names.end(),

Callers 1

Calls 2

AddNameMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected