LLVM  9.0.0svn
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:23
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:22
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:342
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:48