mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user