1 #include "llvm/Support/Locale.h"
2 #include "llvm/ADT/StringRef.h"
3 #include "llvm/Support/Unicode.h"
9 int columnWidth(StringRef Text
) {
10 return llvm::sys::unicode::columnWidthUTF8(Text
);
13 bool isPrint(int UCS
) {
14 return llvm::sys::unicode::isPrintable(UCS
);