diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-11-28 22:46:12 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-11-28 22:46:12 +0000 |
commit | 6f81b510217bd87f265cca054c5d9885250d8525 (patch) | |
tree | 5df9ed1ff445ba9c1efe8754da583542d079d455 /lib/Analysis/LoopInfo.cpp | |
parent | c0ac317f93bef323437d791e4ef5a97f36d50515 (diff) | |
download | external_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.cpp | 5 |
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); } |