summaryrefslogtreecommitdiffstats
path: root/libcxx/include/ios
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-04-02 22:21:27 +0000
committerLouis Dionne <ldionne@apple.com>2019-04-02 22:21:27 +0000
commit38b7e74836e314ec15c16d9106d2e2cf295e349a (patch)
tree6cbd91c5f2eb570bb694c064936b4af4e8fa3d7d /libcxx/include/ios
parentcc525c97b7df198095124ee1fb68219e5a9189a5 (diff)
downloadbcm5719-llvm-38b7e74836e314ec15c16d9106d2e2cf295e349a.tar.gz
bcm5719-llvm-38b7e74836e314ec15c16d9106d2e2cf295e349a.zip
Revert "[libc++] Fix error flags and exceptions propagated from input stream operations"
This reverts commits r357533 and r357531, which broke the LLDB data formatters. I'll hold off until we know how to fix the data formatters accordingly. llvm-svn: 357536
Diffstat (limited to 'libcxx/include/ios')
-rw-r--r--libcxx/include/ios9
1 files changed, 0 insertions, 9 deletions
diff --git a/libcxx/include/ios b/libcxx/include/ios
index ce4e1769f2f..96e84eb3835 100644
--- a/libcxx/include/ios
+++ b/libcxx/include/ios
@@ -330,15 +330,6 @@ public:
void __set_badbit_and_consider_rethrow();
void __set_failbit_and_consider_rethrow();
- _LIBCPP_INLINE_VISIBILITY
- void __setstate_nothrow(iostate __state)
- {
- if (__rdbuf_)
- __rdstate_ |= __state;
- else
- __rdstate_ |= __state | ios_base::badbit;
- }
-
protected:
_LIBCPP_INLINE_VISIBILITY
ios_base() {// purposefully does no initialization
OpenPOWER on IntegriCloud