Returns true if Codepoint is a valid UTF‐32 scalar value.

Synopsis

Declared in <llvm/Support/ConvertUTF.h>

bool
IsSingleCodeUnitUTF32Codepoint(unsigned int Codepoint);

Description

Surrogate code points are excluded. Every legal Unicode scalar fits in one UTF‐32 code unit.

Return Value

true if Codepoint is a valid UTF‐32 scalar value.

Parameters

Name

Description

Codepoint

Unicode code point to test.

Created with MrDocs