Allow DOUT to be used outside of the llvm namespace.
authorDan Gohman <gohman@apple.com>
Wed, 27 Jun 2007 14:09:38 +0000 (14:09 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 27 Jun 2007 14:09:38 +0000 (14:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37753 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Debug.h

index 6c7590ebe1003fa4c72d6b0cdeca15545986f9af..cbfaf1574cc124b223b0b816977162acc5da1d09 100644 (file)
@@ -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