summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-07-21 20:50:22 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-07-21 20:50:22 +0000
commit025daeeee67a0a778bc5fd2f23e7e3a07a98a5bc (patch)
treea639e6591f06f885807779f148ca599dac7a3003
parentdbd14bc3e58029f93d64f9b75df5ed1e113381b1 (diff)
downloadbcm5719-llvm-025daeeee67a0a778bc5fd2f23e7e3a07a98a5bc.tar.gz
bcm5719-llvm-025daeeee67a0a778bc5fd2f23e7e3a07a98a5bc.zip
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>. llvm-svn: 15088
-rw-r--r--llvm/include/Support/Debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/Support/Debug.h b/llvm/include/Support/Debug.h
index 66a208811ae..f0a1b3dc5bd 100644
--- a/llvm/include/Support/Debug.h
+++ b/llvm/include/Support/Debug.h
@@ -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
OpenPOWER on IntegriCloud