LLVM  16.0.0git
Classes | Namespaces | Enumerations | Functions
Unicode.h File Reference
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallString.h"
#include <string>
Include dependency graph for Unicode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  llvm::sys::unicode::LooseMatchingResult
struct  llvm::sys::unicode::MatchForCodepointName


 This is an optimization pass for GlobalISel generic memory operations.


enum  llvm::sys::unicode::ColumnWidthErrors { llvm::sys::unicode::ErrorInvalidUTF8 = -2, llvm::sys::unicode::ErrorNonPrintableCharacter = -1 }


bool llvm::sys::unicode::isPrintable (int UCS)
 Determines if a character is likely to be displayed correctly on the terminal. More...
bool llvm::sys::unicode::isFormatting (int UCS)
 Unicode code points of the Cf category are considered formatting characters. More...
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"). More...
int llvm::sys::unicode::foldCharSimple (int C)
 Fold input unicode character according the Simple unicode case folding rules. More...
Optional< char32_t > llvm::sys::unicode::nameToCodepointStrict (StringRef Name)
 Maps the name or the alias of a Unicode character to its associated codepoints. More...
Optional< LooseMatchingResult > llvm::sys::unicode::nameToCodepointLooseMatching (StringRef Name)
SmallVector< MatchForCodepointName > llvm::sys::unicode::nearestMatchesForCodepointName (StringRef Pattern, std::size_t MaxMatchesCount)