summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit75dbcb8bdd0c90a1121b232aa253bc8ebbbf4304 (patch)
tree1d3e62d71661cc563962c00d624a7465324924e2 /llvm/lib/Support/Locale.cpp
parent2dd5ed5e5fe9f493f6fb8fdd098078a18c8fb44f (diff)
downloadbcm5719-llvm-75dbcb8bdd0c90a1121b232aa253bc8ebbbf4304.tar.gz
bcm5719-llvm-75dbcb8bdd0c90a1121b232aa253bc8ebbbf4304.zip
platform support for counting column widths and checking isprint
llvm-svn: 154944
Diffstat (limited to 'llvm/lib/Support/Locale.cpp')
-rw-r--r--llvm/lib/Support/Locale.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/Support/Locale.cpp b/llvm/lib/Support/Locale.cpp
new file mode 100644
index 00000000000..17b9b6c47d6
--- /dev/null
+++ b/llvm/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
OpenPOWER on IntegriCloud