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

Function VendorHelper

Source/cmCMakePresetsGraphReadJSON.cxx:410–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408}
409
410cmJSONHelper<std::nullptr_t> VendorHelper(ErrorGenerator const& error)
411{
412 return [error](std::nullptr_t& /*out*/, Json::Value const* value,
413 cmJSONState* state) -> bool {
414 if (!value) {
415 return true;
416 }
417
418 if (!value->isObject()) {
419 error(value, state);
420 return false;
421 }
422
423 return true;
424 };
425}
426
427bool PresetConditionHelper(
428 std::shared_ptr<cmCMakePresetsGraph::Condition>& out,

Calls 2

errorFunction · 0.85
isObjectMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…