MCPcopy Create free account
hub / github.com/JayXon/Leanify / IsWhiteSpace

Method IsWhiteSpace

lib/tinyxml2/tinyxml2.h:561–563  ·  view source on GitHub ↗

Anything in the high order range of UTF-8 is assumed to not be whitespace. This isn't correct, but simple, and usually works.

Source from the content-addressed store, hash-verified

559 // Anything in the high order range of UTF-8 is assumed to not be whitespace. This isn't
560 // correct, but simple, and usually works.
561 static bool IsWhiteSpace( char p ) {
562 return !IsUTF8Continuation(p) && isspace( static_cast<unsigned char>(p) );
563 }
564
565 inline static bool IsNameStartChar( unsigned char ch ) {
566 if ( ch >= 128 ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected