summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-12-04 14:31:59 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-12-04 14:31:59 +0000
commit067fcb56182289ed691db0075a55a1f1280e0560 (patch)
tree2a85ed4d90d4803cdfd7ce21f74dec153b43d235
parentf299288f55f2f8c6ca56c3d18bfabb74b0ea590a (diff)
downloadbcm5719-llvm-067fcb56182289ed691db0075a55a1f1280e0560.tar.gz
bcm5719-llvm-067fcb56182289ed691db0075a55a1f1280e0560.zip
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.
llvm-svn: 169268
-rw-r--r--clang/lib/Driver/ToolChains.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp
index 1c72c7f5253..e036ee2ed9d 100644
--- a/clang/lib/Driver/ToolChains.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud