summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitHeaderSearch.cpp
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2012-02-14 15:54:49 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2012-02-14 15:54:49 +0000
commit4d9cbffbe2cfa22013e84575375d4823fc817cf2 (patch)
tree06716b8b622332e47206b2ea78675bb0263e024b /clang/lib/Frontend/InitHeaderSearch.cpp
parent1deda29598f7e223ce7546b5a7c95120160bbe9d (diff)
downloadbcm5719-llvm-4d9cbffbe2cfa22013e84575375d4823fc817cf2.tar.gz
bcm5719-llvm-4d9cbffbe2cfa22013e84575375d4823fc817cf2.zip
include clang's config.h unconditionally (v2)
And remove HAVE_CLANG_CONFIG_H, now that the header is generated in the autoconf build, too. Reverts r149571/restores r149504, now that config.h is generated correctly by LLVM's configure in all build configurations. llvm-svn: 150487
Diffstat (limited to 'clang/lib/Frontend/InitHeaderSearch.cpp')
-rw-r--r--clang/lib/Frontend/InitHeaderSearch.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/Frontend/InitHeaderSearch.cpp b/clang/lib/Frontend/InitHeaderSearch.cpp
index 67b2287604d..ee4b4eb5cd3 100644
--- a/clang/lib/Frontend/InitHeaderSearch.cpp
+++ b/clang/lib/Frontend/InitHeaderSearch.cpp
@@ -26,11 +26,8 @@
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Path.h"
-#ifdef HAVE_CLANG_CONFIG_H
-# include "clang/Config/config.h"
-#endif
+#include "clang/Config/config.h" // C_INCLUDE_DIRS
-#include "llvm/Config/config.h"
using namespace clang;
using namespace clang::frontend;
OpenPOWER on IntegriCloud