MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / IsSpace

Function IsSpace

tools/io.cpp:99–99  ·  view source on GitHub ↗

Whether a character should be skipped as whitespace / separator / end-of-file.

Source from the content-addressed store, hash-verified

97// Whether a character should be skipped as whitespace / separator /
98// end-of-file.
99bool IsSpace(char c) { return isspace(c) || c == ',' || c == '\0'; }
100
101bool IsHexStream(const std::vector<char>& stream) {
102 for (char c : stream) {

Callers 4

IsHexStreamFunction · 0.85
SkipSpaceMethod · 0.85
DetermineModeMethod · 0.85
NextNMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected