LLVM 22.0.0git
Unicode.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::sys
namespace  llvm::sys::unicode

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.
static int llvm::sys::unicode::charWidth (int UCS)
 Gets the number of positions a character is likely to occupy when output on a terminal ("character width").
static bool llvm::sys::unicode::isprintableascii (char c)
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").