Juggled Debug.h from ObjCARC.h to only the including cpp files that

actually have DEBUG statements. Also changed raw_ostream in said header
to be a forward declaration (removing an include).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173769 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael Gottesman 2013-01-29 04:51:59 +00:00
parent 7a7102d17f
commit 9ab758b9bc
4 changed files with 7 additions and 2 deletions

View File

@ -30,12 +30,14 @@
#include "llvm/IR/Module.h" #include "llvm/IR/Module.h"
#include "llvm/Pass.h" #include "llvm/Pass.h"
#include "llvm/Support/CallSite.h" #include "llvm/Support/CallSite.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/InstIterator.h" #include "llvm/Support/InstIterator.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/ObjCARC.h" #include "llvm/Transforms/ObjCARC.h"
#include "llvm/Transforms/Utils/Local.h" #include "llvm/Transforms/Utils/Local.h"
namespace llvm {
class raw_ostream;
}
namespace llvm { namespace llvm {
namespace objcarc { namespace objcarc {

View File

@ -32,6 +32,7 @@
#include "ObjCARC.h" #include "ObjCARC.h"
#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/STLExtras.h"
#include "llvm/IR/Constants.h" #include "llvm/IR/Constants.h"
#include "llvm/Support/Debug.h"
using namespace llvm; using namespace llvm;
using namespace llvm::objcarc; using namespace llvm::objcarc;

View File

@ -31,6 +31,7 @@
#include "llvm/Analysis/Dominators.h" #include "llvm/Analysis/Dominators.h"
#include "llvm/IR/InlineAsm.h" #include "llvm/IR/InlineAsm.h"
#include "llvm/IR/Operator.h" #include "llvm/IR/Operator.h"
#include "llvm/Support/Debug.h"
using namespace llvm; using namespace llvm;
using namespace llvm::objcarc; using namespace llvm::objcarc;

View File

@ -39,6 +39,7 @@
#include "llvm/ADT/Statistic.h" #include "llvm/ADT/Statistic.h"
#include "llvm/IR/LLVMContext.h" #include "llvm/IR/LLVMContext.h"
#include "llvm/Support/CFG.h" #include "llvm/Support/CFG.h"
#include "llvm/Support/Debug.h"
using namespace llvm; using namespace llvm;
using namespace llvm::objcarc; using namespace llvm::objcarc;