aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend
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
commitcc8a94565ec2ff459dcee9ef34237fdcdfc69b3f (patch)
tree535f50ac6e4fb89c5bb6c127e11af38074c098cc /lib/Frontend
parent14c598268ff7534d3753ae84eba9b8a81bf0bf8f (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend')
-rw-r--r--lib/Frontend/InitHeaderSearch.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Frontend/InitHeaderSearch.cpp b/lib/Frontend/InitHeaderSearch.cpp
index 67b2287604..ee4b4eb5cd 100644
--- a/lib/Frontend/InitHeaderSearch.cpp
+++ b/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;