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

Function PrefixesValidMacroNamespace

Source/cmCMakePresetsGraph.cxx:196–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194};
195
196bool PrefixesValidMacroNamespace(std::string const& str)
197{
198 return std::any_of(
199 std::begin(ValidPrefixes), std::end(ValidPrefixes),
200 [&str](char const* prefix) -> bool { return cmHasPrefix(prefix, str); });
201}
202
203bool IsValidMacroNamespace(std::string const& str)
204{

Callers 1

ExpandMacrosMethod · 0.85

Calls 1

cmHasPrefixFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…