#ifndef NDEBUG the "if (Stream) ..." stuff.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31803 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2006-11-17 01:43:48 +00:00
parent 33247d537d
commit a72ac422a2

View File

@ -72,7 +72,9 @@ public:
template <typename Ty>
llvm_ostream& operator << (const Ty& Thing) {
#ifndef NDEBUG
if (Stream) *Stream << Thing;
#endif
return *this;
}
};