forked from OSchip/llvm-project
Also overload for char, since the "char" type depends on the host.
llvm-svn: 55173
This commit is contained in:
parent
0060ef6500
commit
09617418e8
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue