mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-17 18:24:34 +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:
@@ -68,9 +68,9 @@ bool isCurrentDebugType(const char *Type);
|
|||||||
OStream &getErrorOutputStream(const char *DebugType);
|
OStream &getErrorOutputStream(const char *DebugType);
|
||||||
|
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
#define DOUT OStream(0)
|
#define DOUT llvm::OStream(0)
|
||||||
#else
|
#else
|
||||||
#define DOUT getErrorOutputStream(DEBUG_TYPE)
|
#define DOUT llvm::getErrorOutputStream(DEBUG_TYPE)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
} // End llvm namespace
|
} // End llvm namespace
|
||||||
|
Reference in New Issue
Block a user