mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194759 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
19a99df130
commit
2b7fef0ad4
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user