[PATCH] D49863: [istream] Fix error flags and exceptions propagated from input stream operations

Louis Dionne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 26 09:37:57 PDT 2018


ldionne added a comment.

This is a very tricky change since it touches all the input stream operations, both formatted and unformatted. However, I think it's an important change as it fixes extremely broken behavior. The paper I'm working on to fix this in the Standard is https://github.com/ldionne/wg21/blob/4d963b488182b96479636c252695542671fd5e41/generated/drxxxx.pdf. Perhaps we should wait for the paper to make its way through the Standard before committing this, but in any case the new behavior of libc++ should now match that of libstdc++ and MSVC (couldn't test with those libraries, though).


Repository:
  rCXX libc++

https://reviews.llvm.org/D49863





More information about the cfe-commits mailing list