diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2025-06-24 13:58:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-24 13:58:49 -0400 |
commit | 52b27c2bd627c4b83d94b945748faf237cc28a3c (patch) | |
tree | 15eebbadc2c31693b19204596f115093b0724a07 /clang/lib/CodeGen | |
parent | 23b0564800f6308ae4b54f0fbf60759ab8f7eb80 (diff) | |
download | llvm-52b27c2bd627c4b83d94b945748faf237cc28a3c.zip llvm-52b27c2bd627c4b83d94b945748faf237cc28a3c.tar.gz llvm-52b27c2bd627c4b83d94b945748faf237cc28a3c.tar.bz2 |
[libc++] Refactor basic_filebuf::overflow() (#144793)
Refactor the function to streamline the logic so it matches the
specification in [filebuf.virtuals] more closely. In particular, avoid
modifying the put area pointers when we loop around after a partial
codecvt conversion.
Note that we're technically not up-to-spec in this implementation, since
the Standard says that we shouldn't try more than once after a partial
codecvt conversion. However, this refactoring attempts not to change any
functionality.
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions