| 223 | } |
| 224 | |
| 225 | bool SubConditionHelper(std::unique_ptr<cmCMakePresetsGraph::Condition>& out, |
| 226 | Json::Value const* value, cmJSONState* state) |
| 227 | { |
| 228 | std::unique_ptr<cmCMakePresetsGraph::Condition> ptr; |
| 229 | auto result = ConditionHelper(ptr, value, state); |
| 230 | if (ptr && ptr->IsNull()) { |
| 231 | cmCMakePresetsErrors::INVALID_CONDITION(value, state); |
| 232 | return false; |
| 233 | } |
| 234 | out = std::move(ptr); |
| 235 | return result; |
| 236 | } |
| 237 | |
| 238 | bool EnvironmentHelper(cm::optional<std::string>& out, |
| 239 | Json::Value const* value, cmJSONState* state) |
nothing calls this directly
no test coverage detected
searching dependent graphs…