ΒΆOptional<char32_t> nameToCodepointStrict(
    llvm::StringRef Name)

Description

Maps the name or the alias of a Unicode character to its associated codepoints. The names and aliases are derived from UnicodeData.txt and NameAliases.txt For compatibility with the semantics of named character escape sequences in C++, this mapping does an exact match sensitive to casing and spacing.

Declared at: llvm/include/llvm/Support/Unicode.h:70

Parameters

llvm::StringRef Name

Returns

The codepoint of the corresponding character, if any.