diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-12-04 14:31:59 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-12-04 14:31:59 +0000 |
commit | 5542635a0fcfcd4b96eecf6f08e3648bd5bf739c (patch) | |
tree | 688f0940f5f293623f067b421039eec24bba0276 /lib/Driver/ToolChains.cpp | |
parent | 987c2f590fade75245e32807ee83c31483e02d8a (diff) |
ToolChains.cpp: Fixup r169260, clang/Config/config.h needs to be listed *last*, or llvm/Config/llvm-config.h could not be read in header files.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169268 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
-rw-r--r-- | lib/Driver/ToolChains.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 1c72c7f525..e036ee2ed9 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -7,10 +7,6 @@ // //===----------------------------------------------------------------------===// -// FIXME: This needs to be listed first until we fix the broken include guards -// in these files and the LLVM config.h files. -#include "clang/Config/config.h" // for GCC_INSTALL_PREFIX - #include "ToolChains.h" #include "SanitizerArgs.h" #include "clang/Basic/ObjCRuntime.h" @@ -33,6 +29,11 @@ #include "llvm/Support/Path.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Support/system_error.h" + +// FIXME: This needs to be listed last until we fix the broken include guards +// in these files and the LLVM config.h files. +#include "clang/Config/config.h" // for GCC_INSTALL_PREFIX + #include <cstdlib> // ::getenv using namespace clang::driver; |