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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5542635a0fcfcd4b96eecf6f08e3648bd5bf739c;p=clang 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 --- 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 // ::getenv using namespace clang::driver;