LLVM: include/llvm/Support/Unicode.h File Reference (original) (raw)
#include "[llvm/ADT/SmallString.h](SmallString%5F8h%5Fsource.html)"#include "[llvm/Support/Compiler.h](Compiler%5F8h%5Fsource.html)"#include <optional>#include <string>
Go to the source code of this file.
| Functions | |
|---|---|
| LLVM_ABI bool | llvm::sys::unicode::isPrintable (int UCS) |
| Determines if a character is likely to be displayed correctly on the terminal. | |
| LLVM_ABI bool | llvm::sys::unicode::isFormatting (int UCS) |
| Unicode code points of the Cf category are considered formatting characters. | |
| LLVM_ABI int | llvm::sys::unicode::columnWidthUTF8 (StringRef Text) |
| Gets the number of positions the UTF8-encoded Text is likely to occupy when output on a terminal ("character width"). | |
| LLVM_ABI int | llvm::sys::unicode::foldCharSimple (int C) |
| Fold input unicode character according the Simple unicode case folding rules. | |
| LLVM_ABI std::optional< char32_t > | llvm::sys::unicode::nameToCodepointStrict (StringRef Name) |
| Maps the name or the alias of a Unicode character to its associated codepoints. | |
| LLVM_ABI std::optional< LooseMatchingResult > | llvm::sys::unicode::nameToCodepointLooseMatching (StringRef Name) |
| LLVM_ABI SmallVector< MatchForCodepointName > | llvm::sys::unicode::nearestMatchesForCodepointName (StringRef Pattern, std::size_t MaxMatchesCount) |