[llvm-commits] CVS: llvm/lib/Support/Debug.cpp
Bill Wendling
isanbard at gmail.com
Fri Nov 17 01:55:01 PST 2006
Changes in directory llvm/lib/Support:
Debug.cpp updated: 1.8 -> 1.9
---
Log message:
Moved definition of llvm_ostream wrappers to the Streams.cpp file.
---
Diffs of the changes: (+3 -4)
Debug.cpp | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Index: llvm/lib/Support/Debug.cpp
diff -u llvm/lib/Support/Debug.cpp:1.8 llvm/lib/Support/Debug.cpp:1.9
--- llvm/lib/Support/Debug.cpp:1.8 Thu Nov 16 18:49:12 2006
+++ llvm/lib/Support/Debug.cpp Fri Nov 17 03:54:47 2006
@@ -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 @@
//
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;
}
More information about the llvm-commits
mailing list