From: Richard Smith Date: Thu, 26 Feb 2015 00:01:03 +0000 (+0000) Subject: Remove some unused includes of llvm/IR headers from parts of Clang that really X-Git-Tag: llvmorg-3.7.0-rc1~10827 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ebdfc00995264d2cd3795824c8074e03e6322d35;p=platform%2Fupstream%2Fllvm.git Remove some unused includes of llvm/IR headers from parts of Clang that really shouldn't depend on LLVM IR. llvm-svn: 230586 --- diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index c304b03..a848d4c 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 diff --git a/clang/lib/Frontend/ASTConsumers.cpp b/clang/lib/Frontend/ASTConsumers.cpp index f53c614..52776b6 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"