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

Method SkipSpace

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

Skip whitespace until the next non-whitespace non-comma character.

Source from the content-addressed store, hash-verified

156
157 // Skip whitespace until the next non-whitespace non-comma character.
158 void SkipSpace() {
159 while (current_ < stream_.size()) {
160 char c = stream_[current_];
161 if (!IsSpace(c)) {
162 return;
163 }
164
165 ++current_;
166 }
167 }
168
169 // Skip the 0x or x at the beginning of a hex value.
170 void Skip0x() {

Callers

nothing calls this directly

Calls 2

IsSpaceFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected