[Lldb-commits] [PATCH] D50681: Remove manual byte counting from internal Stream methods.

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 13 17:04:38 PDT 2018


teemperor created this revision.

This patch removes the manual byte counting in all internal Stream methods.
This is now done by the automatic byte counting provided by calling `GetWrittenBytes()`
before and after writing the data (which is automatically done for us by the `ByteDelta`
utility class).


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D50681

Files:
  include/lldb/Utility/Stream.h
  source/Utility/Stream.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50681.160493.patch
Type: text/x-patch
Size: 7191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180814/a7086628/attachment.bin>


More information about the lldb-commits mailing list