LLVM 20.0.0git
Namespaces | Functions
Unicode.cpp File Reference
#include "llvm/Support/Unicode.h"
#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/UnicodeCharRanges.h"

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

bool llvm::sys::unicode::isPrintable (int UCS)
 Determines if a character is likely to be displayed correctly on the terminal.
 
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)
 
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").