aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/LoopInfo.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-11-28 22:46:12 +0000
committerBill Wendling <isanbard@gmail.com>2006-11-28 22:46:12 +0000
commit6f81b510217bd87f265cca054c5d9885250d8525 (patch)
tree5df9ed1ff445ba9c1efe8754da583542d079d455 /lib/Analysis/LoopInfo.cpp
parentc0ac317f93bef323437d791e4ef5a97f36d50515 (diff)
downloadexternal_llvm-6f81b510217bd87f265cca054c5d9885250d8525.zip
external_llvm-6f81b510217bd87f265cca054c5d9885250d8525.tar.gz
external_llvm-6f81b510217bd87f265cca054c5d9885250d8525.tar.bz2
Removed some of the iostream #includes. Moved towards converting to using
llvm streams git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LoopInfo.cpp')
-rw-r--r--lib/Analysis/LoopInfo.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp
index 9a6b520..1895760 100644
--- a/lib/Analysis/LoopInfo.cpp
+++ b/lib/Analysis/LoopInfo.cpp
@@ -20,9 +20,10 @@
#include "llvm/Analysis/Dominators.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/Support/CFG.h"
+#include "llvm/Support/Streams.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include <algorithm>
-#include <iostream>
+#include <ostream>
using namespace llvm;
static RegisterPass<LoopInfo>
@@ -79,7 +80,7 @@ void Loop::print(std::ostream &OS, unsigned Depth) const {
}
void Loop::dump() const {
- print(std::cerr);
+ print(llvm_cerr);
}