Used llvm_ostream instead of std::ostream objects. This will reduce use

of the icky <iostream> class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31818 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2006-11-17 09:52:49 +00:00
parent e562ed1c92
commit 52883e7a9a
4 changed files with 13 additions and 31 deletions

View File

@@ -235,7 +235,7 @@ inline typename cast_retty<X, Y>::ret_type dyn_cast_or_null(Y Val) {
#ifdef DEBUG_CAST_OPERATORS
#include <iostream>
#include "llvm/Support/Debug.h"
struct bar {
bar() {}
@@ -245,13 +245,13 @@ private:
struct foo {
void ext() const;
/* static bool classof(const bar *X) {
cerr << "Classof: " << X << "\n";
llvm_cerr << "Classof: " << X << "\n";
return true;
}*/
};
template <> inline bool isa_impl<foo,bar>(const bar &Val) {
cerr << "Classof: " << &Val << "\n";
llvm_cerr << "Classof: " << &Val << "\n";
return true;
}