Remove some unused includes of llvm/IR headers from parts of Clang that really
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 26 Feb 2015 00:01:03 +0000 (00:01 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 26 Feb 2015 00:01:03 +0000 (00:01 +0000)
shouldn't depend on LLVM IR.

llvm-svn: 230586

clang/lib/Basic/Targets.cpp
clang/lib/Frontend/ASTConsumers.cpp

index c304b03..a848d4c 100644 (file)
@@ -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>
index f53c614..52776b6 100644 (file)
@@ -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"