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

Function GetPropertyContent

Source/cmStateDirectory.cxx:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62template <typename T, typename U>
63cmBTStringRange GetPropertyContent(T const& content, U contentEndPosition)
64{
65 auto end = content.begin() + contentEndPosition;
66
67 auto rbegin = cm::make_reverse_iterator(end);
68 rbegin = std::find(rbegin, content.rend(), cmStateDetail::PropertySentinel);
69
70 return cmMakeRange(rbegin.base(), end);
71}
72
73template <typename T, typename U>
74void AppendEntry(T& content, U& endContentPosition,

Calls 4

cmMakeRangeFunction · 0.85
rendMethod · 0.80
findFunction · 0.50
beginMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…