зеркало из https://github.com/microsoft/clang-1.git
back out r149504
Too many weird build failures. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149571 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
34a2c42ba8
Коммит
f2462be34a
|
@ -234,7 +234,7 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
|
|||
PATTERN "*.inc"
|
||||
)
|
||||
|
||||
add_definitions( -D_GNU_SOURCE )
|
||||
add_definitions( -D_GNU_SOURCE -DHAVE_CLANG_CONFIG_H )
|
||||
|
||||
# Clang version information
|
||||
set(CLANG_EXECUTABLE_VERSION
|
||||
|
|
|
@ -36,9 +36,12 @@
|
|||
#include "InputInfo.h"
|
||||
#include "ToolChains.h"
|
||||
|
||||
#include <map>
|
||||
#ifdef HAVE_CLANG_CONFIG_H
|
||||
# include "clang/Config/config.h"
|
||||
#endif
|
||||
#include "llvm/Config/config.h"
|
||||
|
||||
#include "clang/Config/config.h"
|
||||
#include <map>
|
||||
|
||||
using namespace clang::driver;
|
||||
using namespace clang;
|
||||
|
|
|
@ -33,7 +33,11 @@
|
|||
|
||||
#include <cstdlib> // ::getenv
|
||||
|
||||
#include "clang/Config/config.h"
|
||||
#ifdef HAVE_CLANG_CONFIG_H
|
||||
# include "clang/Config/config.h"
|
||||
#endif
|
||||
|
||||
#include "llvm/Config/config.h" // for CXX_INCLUDE_ROOT
|
||||
|
||||
using namespace clang::driver;
|
||||
using namespace clang::driver::toolchains;
|
||||
|
|
|
@ -26,8 +26,11 @@
|
|||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/Path.h"
|
||||
|
||||
#include "clang/Config/config.h"
|
||||
#ifdef HAVE_CLANG_CONFIG_H
|
||||
# include "clang/Config/config.h"
|
||||
#endif
|
||||
|
||||
#include "llvm/Config/config.h"
|
||||
using namespace clang;
|
||||
using namespace clang::frontend;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче