14#ifndef LLVM_SUPPORT_UNICODE_H
15#define LLVM_SUPPORT_UNICODE_H
This file defines the SmallString class.
SmallString - A SmallString is just a SmallVector with methods and accessors that make it work better...
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
StringRef - Represent a constant reference to a string, i.e.
LLVM Value Representation.
@ C
The default llvm calling convention, compatible with C.
@ ErrorNonPrintableCharacter
int foldCharSimple(int C)
Fold input unicode character according the Simple unicode case folding rules.
std::optional< char32_t > nameToCodepointStrict(StringRef Name)
Maps the name or the alias of a Unicode character to its associated codepoints.
SmallVector< MatchForCodepointName > nearestMatchesForCodepointName(StringRef Pattern, std::size_t MaxMatchesCount)
int columnWidthUTF8(StringRef Text)
Gets the number of positions the UTF8-encoded Text is likely to occupy when output on a terminal ("ch...
std::optional< LooseMatchingResult > nameToCodepointLooseMatching(StringRef Name)
bool isFormatting(int UCS)
Unicode code points of the Cf category are considered formatting characters.
bool isPrintable(int UCS)
Determines if a character is likely to be displayed correctly on the terminal.
This is an optimization pass for GlobalISel generic memory operations.