diff options
author | Raphael Isemann <teemperor@gmail.com> | 2018-09-12 10:20:41 +0000 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2018-09-12 10:20:41 +0000 |
commit | cad7a46a236c75333f1219d3eaa352a26fcf7a13 (patch) | |
tree | 2ad079ed911feaeb620d70a19dff457962f367a6 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | e27e87cdcb0b4dd56806434bc31fabe8e24e9972 (diff) | |
download | llvm-cad7a46a236c75333f1219d3eaa352a26fcf7a13.zip llvm-cad7a46a236c75333f1219d3eaa352a26fcf7a13.tar.gz llvm-cad7a46a236c75333f1219d3eaa352a26fcf7a13.tar.bz2 |
Remove manual byte counting from internal Stream methods.
Summary:
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).
Reviewers: #lldb, JDevlieghere
Reviewed By: JDevlieghere
Subscribers: JDevlieghere, labath, lldb-commits
Differential Revision: https://reviews.llvm.org/D50681
llvm-svn: 342044
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions