[AArch64] Default to SEH exception handling on MinGW
[llvm-complete.git] / lib / Support / Locale.cpp
blob1b3300b90f2a3bf701dbadcc33b7e0789d9461d2
1 #include "llvm/Support/Locale.h"
2 #include "llvm/ADT/StringRef.h"
3 #include "llvm/Support/Unicode.h"
5 namespace llvm {
6 namespace sys {
7 namespace locale {
9 int columnWidth(StringRef Text) {
10 return llvm::sys::unicode::columnWidthUTF8(Text);
13 bool isPrint(int UCS) {
14 return llvm::sys::unicode::isPrintable(UCS);
17 } // namespace locale
18 } // namespace sys
19 } // namespace llvm