LLVM  8.0.1
Locale.cpp
Go to the documentation of this file.
1 #include "llvm/Support/Locale.h"
2 #include "llvm/ADT/StringRef.h"
3 #include "llvm/Support/Unicode.h"
4 
5 namespace llvm {
6 namespace sys {
7 namespace locale {
8 
9 int columnWidth(StringRef Text) {
11 }
12 
13 bool isPrint(int UCS) {
15 }
16 
17 } // namespace locale
18 } // namespace sys
19 } // namespace llvm
This class represents lattice values for constants.
Definition: AllocatorList.h:24
bool isPrint(int c)
Definition: Locale.cpp:13
bool isPrintable(int UCS)
Determines if a character is likely to be displayed correctly on the terminal.
Definition: Unicode.cpp:23
int columnWidth(StringRef s)
Definition: Locale.cpp:9
int columnWidthUTF8(StringRef Text)
Gets the number of positions the UTF8-encoded Text is likely to occupy when output on a terminal ("ch...
Definition: Unicode.cpp:343
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:49