From ebdfc00995264d2cd3795824c8074e03e6322d35 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 26 Feb 2015 00:01:03 +0000 Subject: [PATCH] Remove some unused includes of llvm/IR headers from parts of Clang that really shouldn't depend on LLVM IR. llvm-svn: 230586 --- clang/lib/Basic/Targets.cpp | 1 - clang/lib/Frontend/ASTConsumers.cpp | 1 - 2 files changed, 2 deletions(-) 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" -- 2.7.4