[LLVM Diagnostic Capabilities] Remove useless includes from
authorQuentin Colombet <qcolombet@apple.com>
Tue, 17 Dec 2013 00:56:19 +0000 (00:56 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Tue, 17 Dec 2013 00:56:19 +0000 (00:56 +0000)
DiagnosticPrinter.cpp.
These was creating a link time dependencies of IR on CodeGen and Analysis.

Part of <rdar://problem/15515174>

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

lib/Support/DiagnosticPrinter.cpp

index 826bec0d4514e32e4545b192fe7d1a4b01f0eefd..00b80693f9037e8cfbaa16684df8d204e57e6137 100644 (file)
@@ -12,8 +12,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/ADT/Twine.h"
-#include "llvm/Analysis/ScalarEvolution.h"
-#include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/IR/Value.h"
 #include "llvm/Support/DiagnosticPrinter.h"
 #include "llvm/Support/raw_ostream.h"