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

Method GetLibPath

Source/cmXCOFF.cxx:272–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270
271template <typename XCOFF>
272cm::optional<cm::string_view> Impl<XCOFF>::GetLibPath()
273{
274 cm::optional<cm::string_view> result;
275 auto end = std::find(this->LoaderImportFileTable.begin(),
276 this->LoaderImportFileTable.end(), '\0');
277 if (end != this->LoaderImportFileTable.end()) {
278 result = cm::string_view(this->LoaderImportFileTable.data(),
279 end - this->LoaderImportFileTable.begin());
280 }
281 return result;
282}
283
284template <typename XCOFF>
285bool Impl<XCOFF>::SetLibPath(cm::string_view libPath)

Callers 2

ChangeRPathXCOFFFunction · 0.80
CheckRPathMethod · 0.80

Calls 5

ValidMethod · 0.95
findFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected