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

Function INVALID_NAMED_OBJECT_KEY

Source/cmJSONHelpers.cxx:107–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107ErrorGenerator INVALID_NAMED_OBJECT_KEY(
108 ObjectError errorType, Json::Value::Members const& extraFields)
109{
110 return INVALID_NAMED_OBJECT(
111 [](Json::Value const*, cmJSONState* state) -> std::string {
112 for (auto it = state->parseStack.rbegin();
113 it != state->parseStack.rend(); ++it) {
114 if (it->first.rfind("$vector_item_", 0) == 0) {
115 continue;
116 }
117 return cmStrCat('"', it->first, '"');
118 }
119 return "root";
120 })(errorType, extraFields);
121}
122}

Callers

nothing calls this directly

Calls 5

INVALID_NAMED_OBJECTFunction · 0.85
rbeginMethod · 0.80
rendMethod · 0.80
rfindMethod · 0.80
cmStrCatFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…