///
iterator Scanned;
- virtual void write_impl(const char *Ptr, size_t Size) {
- ComputeColumn();
- TheStream->write(Ptr, Size);
- Scanned = begin();
- }
+ virtual void write_impl(const char *Ptr, size_t Size);
/// current_pos - Return the current position within the stream,
/// not counting the bytes currently in the buffer.
write(Spaces, num);
}
+void formatted_raw_ostream::write_impl(const char *Ptr, size_t Size) {
+ ComputeColumn();
+ TheStream->write(Ptr, Size);
+ Scanned = begin();
+}
+
/// fouts() - This returns a reference to a formatted_raw_ostream for
/// standard output. Use it like: fouts() << "foo" << "bar";
formatted_raw_ostream &llvm::fouts() {