summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-04 03:28:55 +0000
committerAlp Toker <alp@nuanti.com>2014-06-04 03:28:55 +0000
commit1d257e1d0aa4bad059b05bb35fc39a707f4cbb0a (patch)
tree845fba14c2c359f7a2de4449ec9c1f1cd53ef724 /clang/lib/Driver/Driver.cpp
parent423f78f415cb5980c94113f4d46bb84189bc1071 (diff)
downloadbcm5719-llvm-1d257e1d0aa4bad059b05bb35fc39a707f4cbb0a.tar.gz
bcm5719-llvm-1d257e1d0aa4bad059b05bb35fc39a707f4cbb0a.zip
Remove the last remaining llvm/Config/config.h includes
This corrects long-standing misuses of LLVM's internal config.h. In most cases the public llvm-config.h header was intended and we can now remove the old hacks thanks to LLVM r210144. The config.h header is private, won't be installed and should no longer be included by clang or other modules. llvm-svn: 210145
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r--clang/lib/Driver/Driver.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index a0fcf413168..1d7f1805543 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -11,6 +11,7 @@
#include "InputInfo.h"
#include "ToolChains.h"
#include "clang/Basic/Version.h"
+#include "clang/Config/config.h"
#include "clang/Driver/Action.h"
#include "clang/Driver/Compilation.h"
#include "clang/Driver/DriverDiagnostic.h"
@@ -37,10 +38,6 @@
#include <map>
#include <memory>
-// FIXME: It would prevent us from including llvm-config.h
-// if config.h were included before system_error.h.
-#include "clang/Config/config.h"
-
using namespace clang::driver;
using namespace clang;
using namespace llvm::opt;
OpenPOWER on IntegriCloud