| 408 | } |
| 409 | |
| 410 | cmJSONHelper<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 | |
| 427 | bool PresetConditionHelper( |
| 428 | std::shared_ptr<cmCMakePresetsGraph::Condition>& out, |
no test coverage detected
searching dependent graphs…