From: NAKAMURA Takumi Date: Tue, 4 Dec 2012 14:31:59 +0000 (+0000) Subject: ToolChains.cpp: Fixup r169260, clang/Config/config.h needs to be listed *last*, or... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=067fcb56182289ed691db0075a55a1f1280e0560;p=platform%2Fupstream%2Fllvm.git 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 --- diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp index 1c72c7f..e036ee2 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 // ::getenv using namespace clang::driver;