MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / isNonDigit

Function isNonDigit

StandAlone/StandAlone.cpp:470–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468}
469
470inline bool isNonDigit(char c) {
471 // a non-digit character valid in a glsl identifier
472 return (c == '_') || (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z');
473}
474
475// whether string isa valid identifier to be used in glsl
476bool isValidIdentifier(const char* str) {

Callers 1

isValidIdentifierFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected