aboutsummaryrefslogtreecommitdiff
path: root/llvm/include
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 /llvm/include
parentdbd14bc3e58029f93d64f9b75df5ed1e113381b1 (diff)
downloadllvm-025daeeee67a0a778bc5fd2f23e7e3a07a98a5bc.zip
llvm-025daeeee67a0a778bc5fd2f23e7e3a07a98a5bc.tar.gz
llvm-025daeeee67a0a778bc5fd2f23e7e3a07a98a5bc.tar.bz2
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
Diffstat (limited to 'llvm/include')
-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 66a2088..f0a1b3d 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