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

Function JsonIsStringArray

Source/cmCxxModuleMetadata.cxx:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace {
27
28bool JsonIsStringArray(Json::Value const& v)
29{
30 return v.isArray() &&
31 std::all_of(v.begin(), v.end(),
32 [](Json::Value const& it) { return it.isString(); });
33}
34
35bool ParsePreprocessorDefine(Json::Value& dval,
36 cmCxxModuleMetadata::PreprocessorDefineData& out,

Callers 2

ParseLocalArgumentsFunction · 0.85

Calls 4

isArrayMethod · 0.80
isStringMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…