mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Allow DOUT to be used outside of the llvm namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37753 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
89b20c07e9
commit
0ce4b8eda3
@ -68,9 +68,9 @@ bool isCurrentDebugType(const char *Type);
|
||||
OStream &getErrorOutputStream(const char *DebugType);
|
||||
|
||||
#ifdef NDEBUG
|
||||
#define DOUT OStream(0)
|
||||
#define DOUT llvm::OStream(0)
|
||||
#else
|
||||
#define DOUT getErrorOutputStream(DEBUG_TYPE)
|
||||
#define DOUT llvm::getErrorOutputStream(DEBUG_TYPE)
|
||||
#endif
|
||||
|
||||
} // End llvm namespace
|
||||
|
Loading…
Reference in New Issue
Block a user