diff options
| author | Rui Ueyama <ruiu@google.com> | 2013-11-15 01:25:34 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2013-11-15 01:25:34 +0000 |
| commit | 08c0b1a1bd345aadf2755358e4463b2c1047c616 (patch) | |
| tree | 2fef2c26f57d5652b22a6c41d0f928859de084f2 /llvm/include | |
| parent | e60d6e1b0738fb85f360bbc484256bc521c06fa2 (diff) | |
| download | bcm5719-llvm-08c0b1a1bd345aadf2755358e4463b2c1047c616.tar.gz bcm5719-llvm-08c0b1a1bd345aadf2755358e4463b2c1047c616.zip | |
Include raw_ostream.h.
Including only Debug.h did not cause a compilation error, but you couldn't
do anything (like writing something with <<) to raw_ostreams returned by
llvm::dbgs() or llvm::errs() without including raw_ostream.h. So including
it from Debug.h should make sense.
Differential Revision: http://llvm-reviews.chandlerc.com/D2183
llvm-svn: 194759
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/Support/Debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/Debug.h b/llvm/include/llvm/Support/Debug.h index 896fe849a6b..27024082962 100644 --- a/llvm/include/llvm/Support/Debug.h +++ b/llvm/include/llvm/Support/Debug.h @@ -26,9 +26,9 @@ #ifndef LLVM_SUPPORT_DEBUG_H #define LLVM_SUPPORT_DEBUG_H -namespace llvm { +#include "llvm/Support/raw_ostream.h" -class raw_ostream; +namespace llvm { /// DEBUG_TYPE macro - Files can specify a DEBUG_TYPE as a string, which causes /// all of their DEBUG statements to be activatable with -debug-only=thatstring. |

