summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-02-26 00:01:03 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-02-26 00:01:03 +0000
commitebdfc00995264d2cd3795824c8074e03e6322d35 (patch)
tree5d611f905960d5299efedee4251db0ae44202fcf /clang/lib
parent5f54195e4a0e5b662c9d7fdb6f015a0c9f8e5b25 (diff)
downloadbcm5719-llvm-ebdfc00995264d2cd3795824c8074e03e6322d35.tar.gz
bcm5719-llvm-ebdfc00995264d2cd3795824c8074e03e6322d35.zip
Remove some unused includes of llvm/IR headers from parts of Clang that really
shouldn't depend on LLVM IR. llvm-svn: 230586
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Basic/Targets.cpp1
-rw-r--r--clang/lib/Frontend/ASTConsumers.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp
index c304b031187..a848d4ce2e5 100644
--- a/clang/lib/Basic/Targets.cpp
+++ b/clang/lib/Basic/Targets.cpp
@@ -25,7 +25,6 @@
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/ADT/Triple.h"
-#include "llvm/IR/Type.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/Support/ErrorHandling.h"
#include <algorithm>
diff --git a/clang/lib/Frontend/ASTConsumers.cpp b/clang/lib/Frontend/ASTConsumers.cpp
index f53c614b0a3..52776b6a848 100644
--- a/clang/lib/Frontend/ASTConsumers.cpp
+++ b/clang/lib/Frontend/ASTConsumers.cpp
@@ -21,7 +21,6 @@
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/SourceManager.h"
-#include "llvm/IR/Module.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Timer.h"
#include "llvm/Support/raw_ostream.h"
OpenPOWER on IntegriCloud