[libcxx] r180598 - Fix typos.
Joerg Sonnenberger
joerg at bec.de
Fri Apr 26 02:40:18 PDT 2013
Author: joerg
Date: Fri Apr 26 04:40:18 2013
New Revision: 180598
URL: http://llvm.org/viewvc/llvm-project?rev=180598&view=rev
Log:
Fix typos.
Modified:
libcxx/trunk/src/locale.cpp
Modified: libcxx/trunk/src/locale.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/locale.cpp?rev=180598&r1=180597&r2=180598&view=diff
==============================================================================
--- libcxx/trunk/src/locale.cpp (original)
+++ libcxx/trunk/src/locale.cpp Fri Apr 26 04:40:18 2013
@@ -1407,7 +1407,7 @@ codecvt<wchar_t, char, mbstate_t>::do_ou
to_nxt = to;
for (frm_nxt = frm; frm != frm_end && to != to_end; frm = frm_nxt, to = to_nxt)
{
- // save state in case needed to reover to_nxt on error
+ // save state in case it is needed to recover to_nxt on error
mbstate_t save_state = st;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
size_t n = wcsnrtombs_l(to, &frm_nxt, static_cast<size_t>(fend-frm),
@@ -1476,7 +1476,7 @@ codecvt<wchar_t, char, mbstate_t>::do_in
to_nxt = to;
for (frm_nxt = frm; frm != frm_end && to != to_end; frm = frm_nxt, to = to_nxt)
{
- // save state in case needed to reover to_nxt on error
+ // save state in case it is needed to recover to_nxt on error
mbstate_t save_state = st;
#ifdef _LIBCPP_LOCALE__L_EXTENSIONS
size_t n = mbsnrtowcs_l(to, &frm_nxt, static_cast<size_t>(fend-frm),
More information about the cfe-commits
mailing list