[llvm-commits] CVS: llvm/include/Support/Debug.h

Brian Gaeke gaeke at cs.uiuc.edu
Wed Jul 21 13:50:33 PDT 2004



Changes in directory llvm/include/Support:

Debug.h updated: 1.3 -> 1.4

---
Log message:

Include <iostream> here, because most people using DEBUG() want to use std::cerr too.
This means that users of this file do not also need to include <iostream>.


---
Diffs of the changes:  (+3 -0)

Index: llvm/include/Support/Debug.h
diff -u llvm/include/Support/Debug.h:1.3 llvm/include/Support/Debug.h:1.4
--- llvm/include/Support/Debug.h:1.3	Tue Nov 11 16:41:29 2003
+++ llvm/include/Support/Debug.h	Wed Jul 21 15:50:22 2004
@@ -26,6 +26,9 @@
 #ifndef SUPPORT_DEBUG_H
 #define SUPPORT_DEBUG_H
 
+// Unsurprisingly, most users of this macro use std::cerr too.
+#include <iostream>
+
 namespace llvm {
 
 // DebugFlag - This boolean is set to true if the '-debug' command line option





More information about the llvm-commits mailing list