forked from OSchip/llvm-project
#ifndef NDEBUG the "if (Stream) ..." stuff.
llvm-svn: 31803
This commit is contained in:
parent
84dd67e08a
commit
ca6f6a43e0
|
@ -72,7 +72,9 @@ public:
|
|||
|
||||
template <typename Ty>
|
||||
llvm_ostream& operator << (const Ty& Thing) {
|
||||
#ifndef NDEBUG
|
||||
if (Stream) *Stream << Thing;
|
||||
#endif
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue