[cfe-commits] r169268 - /cfe/trunk/lib/Driver/ToolChains.cpp

NAKAMURA Takumi geek4civic at gmail.com
Tue Dec 4 06:31:59 PST 2012


Author: chapuni
Date: Tue Dec  4 08:31:59 2012
New Revision: 169268

URL: http://llvm.org/viewvc/llvm-project?rev=169268&view=rev
Log:
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.

Modified:
    cfe/trunk/lib/Driver/ToolChains.cpp

Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=169268&r1=169267&r2=169268&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Tue Dec  4 08:31:59 2012
@@ -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;





More information about the cfe-commits mailing list