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

Method Find

Source/cmArgumentParser.cxx:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26auto KeywordActionMap::Find(cm::string_view name) const -> const_iterator
27{
28 auto const it = std::lower_bound(
29 this->begin(), this->end(), name,
30 [](value_type const& elem, cm::string_view k) { return elem.first < k; });
31 return (it != this->end() && it->first == name) ? it : this->end();
32}
33
34auto PositionActionMap::Emplace(std::size_t pos, PositionAction action)
35 -> std::pair<iterator, bool>

Callers 6

ConsumeMethod · 0.45
HandleFindCommandFunction · 0.45
EvaluateMethod · 0.45
FindKeywordOwnerLevelMethod · 0.45
HasKeywordMethod · 0.45
HasKeywordMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected