MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / ConsumeRootName

Function ConsumeRootName

system/lib/libcxx/src/filesystem/path.cpp:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80static bool ConsumeRootName(PathParser* PP) {
81 static_assert(PathParser::PS_BeforeBegin == 1 && PathParser::PS_InRootName == 2, "Values for enums are incorrect");
82 while (PP->State_ <= PathParser::PS_InRootName)
83 ++(*PP);
84 return PP->State_ == PathParser::PS_AtEnd;
85}
86
87static bool ConsumeRootDir(PathParser* PP) {
88 static_assert(PathParser::PS_BeforeBegin == 1 && PathParser::PS_InRootName == 2 && PathParser::PS_InRootDir == 3,

Callers 1

CompareRootNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected