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

Function INVALID_CONDITION_OBJECT

Source/cmCMakePresetsErrors.cxx:286–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286JsonErrors::ErrorGenerator INVALID_CONDITION_OBJECT(
287 JsonErrors::ObjectError errorType, Json::Value::Members const& extraFields)
288{
289 return JsonErrors::INVALID_NAMED_OBJECT(
290 [](Json::Value const*, cmJSONState* state) -> std::string {
291 return cmStrCat(" condition for preset \"", getPresetName(state), '"');
292 })(errorType, extraFields);
293}
294
295JsonErrors::ErrorGenerator INVALID_VARIABLE_OBJECT(
296 JsonErrors::ObjectError errorType, Json::Value::Members const& extraFields)

Callers

nothing calls this directly

Calls 3

INVALID_NAMED_OBJECTFunction · 0.85
getPresetNameFunction · 0.85
cmStrCatFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…