From: Dan Gohman Date: Wed, 27 Jun 2007 14:09:38 +0000 (+0000) Subject: Allow DOUT to be used outside of the llvm namespace. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0ce4b8eda323b8f01252d809ff62b0a54bc7a978;p=oota-llvm.git 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 --- diff --git a/include/llvm/Support/Debug.h b/include/llvm/Support/Debug.h index 6c7590ebe10..cbfaf1574cc 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