浏览代码

Remove some unused includes of llvm/IR headers from parts of Clang that really
shouldn't depend on LLVM IR.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230586 91177308-0d34-0410-b5e6-96231b3b80d8

Richard Smith 10 年之前
父节点
当前提交
2f65d8ce60
共有 2 个文件被更改,包括 0 次插入2 次删除
  1. 0 1
      lib/Basic/Targets.cpp
  2. 0 1
      lib/Frontend/ASTConsumers.cpp

+ 0 - 1
lib/Basic/Targets.cpp

@@ -25,7 +25,6 @@
 #include "llvm/ADT/StringRef.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/ADT/StringSwitch.h"
 #include "llvm/ADT/StringSwitch.h"
 #include "llvm/ADT/Triple.h"
 #include "llvm/ADT/Triple.h"
-#include "llvm/IR/Type.h"
 #include "llvm/MC/MCSectionMachO.h"
 #include "llvm/MC/MCSectionMachO.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/ErrorHandling.h"
 #include <algorithm>
 #include <algorithm>

+ 0 - 1
lib/Frontend/ASTConsumers.cpp

@@ -21,7 +21,6 @@
 #include "clang/Basic/Diagnostic.h"
 #include "clang/Basic/Diagnostic.h"
 #include "clang/Basic/FileManager.h"
 #include "clang/Basic/FileManager.h"
 #include "clang/Basic/SourceManager.h"
 #include "clang/Basic/SourceManager.h"
-#include "llvm/IR/Module.h"
 #include "llvm/Support/Path.h"
 #include "llvm/Support/Path.h"
 #include "llvm/Support/Timer.h"
 #include "llvm/Support/Timer.h"
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/Support/raw_ostream.h"