diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-11-17 09:54:47 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-11-17 09:54:47 +0000 |
commit | 9594f3a19680da6a46a2c4f3a5a94cffc8ddd6af (patch) | |
tree | 6ee29cc100b38edc05320cafc4addfd041f80ddd /llvm/lib/Support/Debug.cpp | |
parent | 7d9eb5dd33c4398aad8ae366afd4bda6d4d2eaad (diff) | |
download | bcm5719-llvm-9594f3a19680da6a46a2c4f3a5a94cffc8ddd6af.tar.gz bcm5719-llvm-9594f3a19680da6a46a2c4f3a5a94cffc8ddd6af.zip |
Moved definition of llvm_ostream wrappers to the Streams.cpp file.
llvm-svn: 31819
Diffstat (limited to 'llvm/lib/Support/Debug.cpp')
-rw-r--r-- | llvm/lib/Support/Debug.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Support/Debug.cpp b/llvm/lib/Support/Debug.cpp index cbf12c7c0d7..9cea94c5471 100644 --- a/llvm/lib/Support/Debug.cpp +++ b/llvm/lib/Support/Debug.cpp @@ -23,9 +23,8 @@ // //===----------------------------------------------------------------------===// -#include "llvm/Support/Debug.h" #include "llvm/Support/CommandLine.h" -#include <iostream> +#include "llvm/Support/Debug.h" using namespace llvm; bool llvm::DebugFlag; // DebugFlag - Exported boolean set by the -debug option @@ -71,7 +70,7 @@ bool llvm::isCurrentDebugType(const char *DebugType) { // llvm_ostream llvm::getErrorOutputStream(const char *DebugType) { if (DebugFlag && isCurrentDebugType(DebugType)) - return llvm_ostream(std::cerr); + return llvm_cerr; else - return llvm_ostream(); + return llvm_null; } |