From: Yaron Keren Date: Fri, 11 Sep 2015 13:22:47 +0000 (+0000) Subject: Add #include llvm-config.h to Locale.cpp which depends on LLVM_ON_WIN32. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=05d48de4fe6bbf88c3a9db2f3ba3101ec3c03206;p=oota-llvm.git 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 . git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247409 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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"