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

Function InvalidObject

Tests/CMakeLib/testJSONHelpers.cxx:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42ErrorGenerator FaultyObjectProperty =
43 ErrorGeneratorBuilder("Faulty Object Property");
44ErrorGenerator InvalidObject(JsonErrors::ObjectError /*errorType*/,
45 Json::Value::Members const& extraFields)
46{
47 return [extraFields](Json::Value const* value, cmJSONState* state) -> void {
48 state->AddErrorAtValue("Invalid Object", value);
49 };
50};
51};
52
53using JSONHelperBuilder = cmJSONHelperBuilder;

Callers

nothing calls this directly

Calls 1

AddErrorAtValueMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…