diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-21 20:50:22 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-21 20:50:22 +0000 |
commit | 7d0276624726ddea3245bb7d88c47db59278bf14 (patch) | |
tree | 80504655c01a8e4c7525ee5ee5ba1a4c5984fa22 /include/llvm/Support/Debug.h | |
parent | a31f1f7cb273156a90aa197db9a97946c0e5812c (diff) |
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.h | 3 |
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 |