3 #include "llvm/Config/llvm-config.h"
25 return ' ' <= UCS && UCS <=
'~';
bool isPrintable(int UCS)
Determines if a character is likely to be displayed correctly on the terminal.
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE size_t size() const
size - Get the string size.
int columnWidth(StringRef s)
int columnWidthUTF8(StringRef Text)
Gets the number of positions the UTF8-encoded Text is likely to occupy when output on a terminal ("ch...
StringRef - Represent a constant reference to a string, i.e.