summaryrefslogtreecommitdiff
path: root/lib/Support/Locale.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2015-09-11 13:22:47 +0000
committerYaron Keren <yaron.keren@gmail.com>2015-09-11 13:22:47 +0000
commit05d48de4fe6bbf88c3a9db2f3ba3101ec3c03206 (patch)
tree2d3c7f8242aed71f32e23a38c6978132f27bf5a6 /lib/Support/Locale.cpp
parentf9c4a2d3bf2e732c139ce4d34c9bd529be9fd8b4 (diff)
Add #include llvm-config.h to Locale.cpp which depends on LLVM_ON_WIN32.
Source code was assuming that llvm-config.h would be included somehow but up to r247253 that added #include "llvm/Support/Compiler.h" to StringRef.h the config file was not actually included. The inclusion of llvm-config.h caused a change of behaviour in tools/clang/test/Frontend/source-col-map.c: previously it would output the original UTF-8 but now it outputs <U+03B1>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247409 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Locale.cpp')
-rw-r--r--lib/Support/Locale.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/Locale.cpp b/lib/Support/Locale.cpp
index d5cb72b5db3..53bc0e36d83 100644
--- a/lib/Support/Locale.cpp
+++ b/lib/Support/Locale.cpp
@@ -1,3 +1,4 @@
+#include "llvm/Config/llvm-config.h"
#include "llvm/Support/Locale.h"
#include "llvm/Support/Unicode.h"