diff options
author | Lawrence D'Anna <lawrence_danna@apple.com> | 2019-10-01 01:05:02 +0000 |
---|---|---|
committer | Lawrence D'Anna <lawrence_danna@apple.com> | 2019-10-01 01:05:02 +0000 |
commit | 4d536bfbead1494c7977689e32837353531ffc4b (patch) | |
tree | 6bbfe2eecf8ca2475a2a8642e049cd43e29b055e /llvm/lib/CodeGen/UnreachableBlockElim.cpp | |
parent | 7a6461fcc2ed8e28c43993c561721af0bbe97f3a (diff) | |
download | bcm5719-llvm-4d536bfbead1494c7977689e32837353531ffc4b.tar.gz bcm5719-llvm-4d536bfbead1494c7977689e32837353531ffc4b.zip |
File::Clear() -> File::TakeStreamAndClear()
Summary:
File::Clear() is an ugly function. It's only used in one place,
which is the swig typemaps for FILE*. This patch refactors and
renames that function to make it clear what it's really for and
why nobody else should use it.
Both File::TakeStreamAndClear() and the FILE* typemaps will be
removed in later patches after a suitable replacement is in place.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68160
llvm-svn: 373285
Diffstat (limited to 'llvm/lib/CodeGen/UnreachableBlockElim.cpp')
0 files changed, 0 insertions, 0 deletions