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

Function cmExpandListWithBacktrace

Source/cmListFileCache.cxx:497–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495}
496
497std::vector<BT<std::string>> cmExpandListWithBacktrace(
498 std::string const& list, cmListFileBacktrace const& bt,
499 cmList::EmptyElements emptyArgs)
500{
501 std::vector<BT<std::string>> result;
502 cmList tmp{ list, emptyArgs };
503 result.reserve(tmp.size());
504 for (std::string& i : tmp) {
505 result.emplace_back(std::move(i), bt);
506 }
507 return result;
508}

Calls 4

moveFunction · 0.85
reserveMethod · 0.80
emplace_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…