summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/Debug.h')
-rw-r--r--include/llvm/Support/Debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Debug.h b/include/llvm/Support/Debug.h
index 627d088eb0..437e57ea07 100644
--- a/include/llvm/Support/Debug.h
+++ b/include/llvm/Support/Debug.h
@@ -68,7 +68,7 @@ bool isCurrentDebugType(const char *Type);
OStream &getErrorOutputStream(const char *DebugType);
#ifdef NDEBUG
-#define DOUT cnull
+#define DOUT OStream(0)
#else
#define DOUT getErrorOutputStream(DEBUG_TYPE)
#endif