MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / IsNameStartChar

Function IsNameStartChar

externals/tinyxml2/tinyxml2.h:572–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570 }
571
572 inline static bool IsNameStartChar( unsigned char ch ) {
573 if ( ch >= 128 ) {
574 // This is a heuristic guess in attempt to not implement Unicode-aware isalpha()
575 return true;
576 }
577 if ( isalpha( ch ) ) {
578 return true;
579 }
580 return ch == ':' || ch == '_';
581 }
582
583 inline static bool IsNameChar( unsigned char ch ) {
584 return IsNameStartChar( ch )

Callers 3

IsNameCharFunction · 0.85
ParseNameMethod · 0.85
ParseAttributesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected