[llvm-commits] CVS: llvm/include/llvm/Support/Debug.h
    Dan Gohman 
    djg at cray.com
       
    Wed Jun 27 07:10:01 PDT 2007
    
    
  
Changes in directory llvm/include/llvm/Support:
Debug.h updated: 1.15 -> 1.16
---
Log message:
Allow DOUT to be used outside of the llvm namespace.
---
Diffs of the changes:  (+2 -2)
 Debug.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/include/llvm/Support/Debug.h
diff -u llvm/include/llvm/Support/Debug.h:1.15 llvm/include/llvm/Support/Debug.h:1.16
--- llvm/include/llvm/Support/Debug.h:1.15	Thu Feb  1 06:09:51 2007
+++ llvm/include/llvm/Support/Debug.h	Wed Jun 27 09:09:38 2007
@@ -68,9 +68,9 @@
 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
    
    
More information about the llvm-commits
mailing list