projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d37f32
)
[libc++] Fix build when exceptions are turned off
author
Louis Dionne
<ldionne@apple.com>
Tue, 2 Apr 2019 22:02:17 +0000
(22:02 +0000)
committer
Louis Dionne
<ldionne@apple.com>
Tue, 2 Apr 2019 22:02:17 +0000
(22:02 +0000)
llvm-svn: 357533
libcxx/include/istream
patch
|
blob
|
history
diff --git
a/libcxx/include/istream
b/libcxx/include/istream
index
122ec18
..
d6217bb
100644
(file)
--- a/
libcxx/include/istream
+++ b/
libcxx/include/istream
@@
-539,8
+539,8
@@
__input_c_string(basic_istream<_CharT, _Traits>& __is, _CharT* __p, size_t __n)
{
#ifndef _LIBCPP_NO_EXCEPTIONS
try
-#endif
{
+#endif
_CharT* __s = __p;
const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__is.getloc());
while (__s != __p + (__n-1))