Should be the same logic, but hopefully easier to read this way.
Gets rid of some superfluous state variables, and uses early returns.
Differential D112956
[libcxx][NFC] tidy up strstreambuf::seekoff and strstreambuf::seekpos ClosedPublic Authored by DanielMcIntosh-IBM on Nov 1 2021, 1:34 PM.
Details
Summary Should be the same logic, but hopefully easier to read this way. Gets rid of some superfluous state variables, and uses early returns.
Diff Detail
Unit TestsFailed Event TimelineDanielMcIntosh-IBM created this revision. This revision is now accepted and ready to land.Sep 8 2023, 5:47 AM This revision was landed with ongoing or failed builds.Sep 8 2023, 5:50 AM Closed by commit rG61cecf641f5b: [libc++][NFC] tidy up strstreambuf::seekoff and strstreambuf::seekpos (authored by DanielMcIntosh-IBM, committed by ldionne). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 386180 libcxx/src/strstream.cpp
|