summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-06-27 14:09:38 +0000
committerDan Gohman <gohman@apple.com>2007-06-27 14:09:38 +0000
commit0ce4b8eda323b8f01252d809ff62b0a54bc7a978 (patch)
tree03f1272c219db2f49d7c23fcdb10a26d7b0a6fff /include
parent89b20c07e9f9539b141c5251ac67cc38afa637d5 (diff)
downloadllvm-0ce4b8eda323b8f01252d809ff62b0a54bc7a978.tar.gz
llvm-0ce4b8eda323b8f01252d809ff62b0a54bc7a978.tar.bz2
llvm-0ce4b8eda323b8f01252d809ff62b0a54bc7a978.tar.xz
Allow DOUT to be used outside of the llvm namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37753 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/Debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/Debug.h b/include/llvm/Support/Debug.h
index 6c7590ebe1..cbfaf1574c 100644
--- a/include/llvm/Support/Debug.h
+++ b/include/llvm/Support/Debug.h
@@ -68,9 +68,9 @@ bool isCurrentDebugType(const char *Type);
OStream &getErrorOutputStream(const char *DebugType);
#ifdef NDEBUG
-#define DOUT OStream(0)
+#define DOUT llvm::OStream(0)
#else
-#define DOUT getErrorOutputStream(DEBUG_TYPE)
+#define DOUT llvm::getErrorOutputStream(DEBUG_TYPE)
#endif
} // End llvm namespace