summaryrefslogtreecommitdiff
path: root/lib/Support/Locale.cpp
diff options
context:
space:
mode:
authorSeth Cantrell <seth.cantrell@gmail.com>2012-04-17 20:03:03 +0000
committerSeth Cantrell <seth.cantrell@gmail.com>2012-04-17 20:03:03 +0000
commitfdc97cd2c332e5544bd99cefa4070329cc8bf668 (patch)
tree127008e9d8238c7b7548b9998727366f63afecb3 /lib/Support/Locale.cpp
parentb90757078f6c270f0b4138dde10a02bd3b64750f (diff)
downloadllvm-fdc97cd2c332e5544bd99cefa4070329cc8bf668.tar.gz
llvm-fdc97cd2c332e5544bd99cefa4070329cc8bf668.tar.bz2
llvm-fdc97cd2c332e5544bd99cefa4070329cc8bf668.tar.xz
platform support for counting column widths and checking isprint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Locale.cpp')
-rw-r--r--lib/Support/Locale.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Support/Locale.cpp b/lib/Support/Locale.cpp
new file mode 100644
index 0000000000..17b9b6c47d
--- /dev/null
+++ b/lib/Support/Locale.cpp
@@ -0,0 +1,10 @@
+#include "llvm/Support/Locale.h"
+#include "llvm/Config/config.h"
+
+#ifdef __APPLE__
+#include "LocaleXlocale.inc"
+#elif LLVM_ON_WIN32
+#include "LocaleWindows.inc"
+#else
+#include "LocaleGeneric.inc"
+#endif