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

Function AppendEntry

Source/cmStateDirectory.cxx:74–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73template <typename T, typename U>
74void AppendEntry(T& content, U& endContentPosition,
75 const BT<std::string>& value)
76{
77 if (value.Value.empty()) {
78 return;
79 }
80
81 assert(endContentPosition == content.size());
82
83 content.push_back(value);
84
85 endContentPosition = content.size();
86}
87
88template <typename T, typename U>
89void SetContent(T& content, U& endContentPosition, const BT<std::string>& vec)

Calls 3

push_backMethod · 0.80
emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…