Skip to content
Commit 9affb245 authored by Daniel Dunbar's avatar Daniel Dunbar
Browse files

formatted_raw_ostream: Fix a serious bug in tell().

 - The current_pos function is supposed to return all the written bytes, not the
   current position of the underlying stream.
 - This caused tell() to be broken whenever the underlying stream had buffered
   content.

llvm-svn: 163948
parent 25cc99fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment