aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/ObjCARC/ObjCARC.h
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-01-29 04:51:59 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-01-29 04:51:59 +0000
commit9ab758b9bc2fe51af6dabbdeb30f4a2e600bdcd0 (patch)
treebba43910308939a5db2702f658c98107494c4997 /lib/Transforms/ObjCARC/ObjCARC.h
parent7a7102d17f979918042bc040e27288d64a6bea5f (diff)
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
Diffstat (limited to 'lib/Transforms/ObjCARC/ObjCARC.h')
-rw-r--r--lib/Transforms/ObjCARC/ObjCARC.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Transforms/ObjCARC/ObjCARC.h b/lib/Transforms/ObjCARC/ObjCARC.h
index 32ca30e0a0..2b90496018 100644
--- a/lib/Transforms/ObjCARC/ObjCARC.h
+++ b/lib/Transforms/ObjCARC/ObjCARC.h
@@ -30,13 +30,15 @@
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/CallSite.h"
-#include "llvm/Support/Debug.h"
#include "llvm/Support/InstIterator.h"
-#include "llvm/Support/raw_ostream.h"
#include "llvm/Transforms/ObjCARC.h"
#include "llvm/Transforms/Utils/Local.h"
namespace llvm {
+class raw_ostream;
+}
+
+namespace llvm {
namespace objcarc {
/// \brief A handy option to enable/disable all ARC Optimizations.