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 | ab41c3e6b7520a84560113d84ea83c2d86b1eff7 (patch) | |
tree | 000edcff157a934a166ddef038ffbd03b9d01ffd /lib/Support/Debug.cpp | |
parent | 52883e7a9a637c0d6dea091917090a8ac63e7736 (diff) |
Moved definition of llvm_ostream wrappers to the Streams.cpp file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Debug.cpp')
-rw-r--r-- | lib/Support/Debug.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Support/Debug.cpp b/lib/Support/Debug.cpp index cbf12c7c0d..9cea94c547 100644 --- a/lib/Support/Debug.cpp +++ b/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; } |