summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Debug.h
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
commit7d0276624726ddea3245bb7d88c47db59278bf14 (patch)
tree80504655c01a8e4c7525ee5ee5ba1a4c5984fa22 /include/llvm/Support/Debug.h
parenta31f1f7cb273156a90aa197db9a97946c0e5812c (diff)
downloadllvm-7d0276624726ddea3245bb7d88c47db59278bf14.tar.gz
llvm-7d0276624726ddea3245bb7d88c47db59278bf14.tar.bz2
llvm-7d0276624726ddea3245bb7d88c47db59278bf14.tar.xz
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>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Debug.h')
-rw-r--r--include/llvm/Support/Debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/Debug.h b/include/llvm/Support/Debug.h
index 66a208811a..f0a1b3dc5b 100644
--- a/include/llvm/Support/Debug.h
+++ b/include/llvm/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