diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-11-17 09:52:49 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-11-17 09:52:49 +0000 |
commit | 52883e7a9a637c0d6dea091917090a8ac63e7736 (patch) | |
tree | d013a0dd10422e717047ce4fbd7b20e00c890569 /include/llvm/Support/Casting.h | |
parent | e562ed1c92d2d0845632c0f7d9f294fa7c4103ba (diff) |
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
Diffstat (limited to 'include/llvm/Support/Casting.h')
-rw-r--r-- | include/llvm/Support/Casting.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Support/Casting.h b/include/llvm/Support/Casting.h index 6630fa955d..fff44f6e64 100644 --- a/include/llvm/Support/Casting.h +++ b/include/llvm/Support/Casting.h @@ -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; } |