Also overload for char, since the "char" type depends on the host.

llvm-svn: 55173
This commit is contained in:
Nicolas Geoffray 2008-08-22 08:44:47 +00:00
parent 0060ef6500
commit 09617418e8
1 changed files with 7 additions and 0 deletions

View File

@ -62,6 +62,13 @@ public:
flush_impl();
}
raw_ostream &operator<<(char C) {
if (OutBufCur >= OutBufEnd)
flush_impl();
*OutBufCur++ = C;
return *this;
}
raw_ostream &operator<<(unsigned char C) {
if (OutBufCur >= OutBufEnd)
flush_impl();