Autotools has the same include guard for both Clang and LLVM's config.h.

Shuffling order causes the wrong one to win.

CMake didn't exhibit this problem because Clang's has *no* guards.

I'll fix this properly tomorrow when Eric and I can check both build
systems and get them to DTRT, but for now unbreak some bots by hoisting
this header.

llvm-svn: 169260
This commit is contained in:
Chandler Carruth 2012-12-04 12:24:59 +00:00
parent 55b47cad33
commit e9bf349247
1 changed files with 4 additions and 1 deletions

View File

@ -7,11 +7,14 @@
//
//===----------------------------------------------------------------------===//
// 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"
#include "clang/Basic/Version.h"
#include "clang/Config/config.h" // for GCC_INSTALL_PREFIX
#include "clang/Driver/Arg.h"
#include "clang/Driver/ArgList.h"
#include "clang/Driver/Compilation.h"