Anything in the high order range of UTF-8 is assumed to not be whitespace. This isn't correct, but simple, and usually works.
| 517 | // Anything in the high order range of UTF-8 is assumed to not be whitespace. This isn't |
| 518 | // correct, but simple, and usually works. |
| 519 | static const char* SkipWhiteSpace( const char* p ) { |
| 520 | while( !IsUTF8Continuation(*p) && isspace( *reinterpret_cast<const unsigned char*>(p) ) ) { |
| 521 | ++p; |
| 522 | } |
| 523 | return p; |
| 524 | } |
| 525 | static char* SkipWhiteSpace( char* p ) { |
| 526 | return const_cast<char*>( SkipWhiteSpace( const_cast<const char*>(p) ) ); |
| 527 | } |
nothing calls this directly
no outgoing calls
no test coverage detected