aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Bolka <a@bolka.at>2009-07-24 23:19:28 +0000
committerAndreas Bolka <a@bolka.at>2009-07-24 23:19:28 +0000
commit0baa25d5391c9e94215830382d21b92b786d9ab4 (patch)
tree9b9141dd2d29d6bc619409e3d2f11cdf540cfa4e
parenteed707b1e6097aac2bb6b3d47271f6300ace7f2e (diff)
downloadexternal_llvm-0baa25d5391c9e94215830382d21b92b786d9ab4.zip
external_llvm-0baa25d5391c9e94215830382d21b92b786d9ab4.tar.gz
external_llvm-0baa25d5391c9e94215830382d21b92b786d9ab4.tar.bz2
Forward-declare raw_ostream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77014 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/LoopDependenceAnalysis.h2
-rw-r--r--lib/Analysis/LoopDependenceAnalysis.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Analysis/LoopDependenceAnalysis.h b/include/llvm/Analysis/LoopDependenceAnalysis.h
index 17bbf8b..9c5904e 100644
--- a/include/llvm/Analysis/LoopDependenceAnalysis.h
+++ b/include/llvm/Analysis/LoopDependenceAnalysis.h
@@ -23,7 +23,6 @@
#include "llvm/ADT/FoldingSet.h"
#include "llvm/Analysis/LoopPass.h"
#include "llvm/Support/Allocator.h"
-#include "llvm/Support/raw_ostream.h"
#include <iosfwd>
namespace llvm {
@@ -32,6 +31,7 @@ class AliasAnalysis;
class AnalysisUsage;
class ScalarEvolution;
class Value;
+class raw_ostream;
class LoopDependenceAnalysis : public LoopPass {
AliasAnalysis *AA;
diff --git a/lib/Analysis/LoopDependenceAnalysis.cpp b/lib/Analysis/LoopDependenceAnalysis.cpp
index 13d449f..f185c96 100644
--- a/lib/Analysis/LoopDependenceAnalysis.cpp
+++ b/lib/Analysis/LoopDependenceAnalysis.cpp
@@ -23,8 +23,10 @@
#include "llvm/Analysis/LoopPass.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/Instructions.h"
+#include "llvm/Support/Allocator.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
+#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetData.h"
using namespace llvm;