From 3bad6b61e5724e8f287855c71ebffb99b67b2bde Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sun, 22 Aug 2010 00:39:25 +0000 Subject: [PATCH] Fixing whitespace problems llvm-svn: 111761 --- .../locale.collate.byname/compare.pass.cpp | 2 +- .../locale.collate.byname/types.pass.cpp | 14 ++-- .../locale.collate.members/compare.pass.cpp | 3 +- .../locale.collate.members/transform.pass.cpp | 1 - .../locale.collate/types.pass.cpp | 10 +-- .../category.ctype/ctype_base.pass.cpp | 34 ++++----- .../facet.ctype.special/types.pass.cpp | 6 +- .../locale.codecvt/codecvt_base.pass.cpp | 2 +- .../char16_t_in.pass.cpp | 4 +- .../char16_t_out.pass.cpp | 4 +- .../char32_t_in.pass.cpp | 4 +- .../char32_t_out.pass.cpp | 4 +- .../locale.codecvt.members/char_in.pass.cpp | 4 +- .../locale.codecvt.members/char_out.pass.cpp | 4 +- .../wchar_t_in.pass.cpp | 4 +- .../wchar_t_out.pass.cpp | 4 +- .../locale.codecvt/types_char.pass.cpp | 8 +- .../locale.codecvt/types_char16_t.pass.cpp | 8 +- .../locale.codecvt/types_char32_t.pass.cpp | 8 +- .../locale.codecvt/types_wchar_t.pass.cpp | 8 +- .../locale.ctype.byname/is_1.pass.cpp | 44 +++++------ .../locale.ctype.byname/is_many.pass.cpp | 28 +++---- .../locale.ctype.byname/narrow_1.pass.cpp | 4 +- .../locale.ctype.byname/narrow_many.pass.cpp | 4 +- .../locale.ctype.byname/tolower_1.pass.cpp | 8 +- .../locale.ctype.byname/tolower_many.pass.cpp | 8 +- .../locale.ctype.byname/toupper_1.pass.cpp | 8 +- .../locale.ctype.byname/toupper_many.pass.cpp | 8 +- .../locale.ctype.byname/types.pass.cpp | 12 +-- .../locale.ctype.byname/widen_1.pass.cpp | 4 +- .../locale.ctype.byname/widen_many.pass.cpp | 4 +- .../locale.ctype/types.pass.cpp | 6 +- .../locale.money.get.members/iterators.h | 2 +- .../locale.money.put.members/iterators.h | 2 +- .../facet.num.put.members/iterators.h | 2 +- .../locale.nm.put/types.pass.cpp | 6 +- .../facet.num.get.members/get_bool.pass.cpp | 28 +++---- .../facet.num.get.members/get_double.pass.cpp | 28 +++---- .../facet.num.get.members/get_float.pass.cpp | 22 +++--- .../facet.num.get.members/get_long.pass.cpp | 74 +++++++++---------- .../get_long_double.pass.cpp | 22 +++--- .../get_long_long.pass.cpp | 10 +-- .../get_pointer.pass.cpp | 4 +- .../get_unsigned_int.pass.cpp | 6 +- .../get_unsigned_long.pass.cpp | 6 +- .../get_unsigned_long_long.pass.cpp | 6 +- .../get_unsigned_short.pass.cpp | 6 +- .../facet.num.get.members/iterators.h | 2 +- .../locale.num.get/types.pass.cpp | 6 +- .../locale.time.get.byname/get_one.pass.cpp | 2 +- .../get_one_wide.pass.cpp | 2 +- .../locale.time.get.byname/get_year.pass.cpp | 2 +- .../get_year_wide.pass.cpp | 2 +- .../locale.time.get.byname/iterators.h | 2 +- .../locale.time.get.members/get_one.pass.cpp | 2 +- .../locale.time.get.members/get_year.pass.cpp | 2 +- .../locale.time.get.members/iterators.h | 2 +- .../locale.time.get/types.pass.cpp | 8 +- .../locale.time.put.byname/iterators.h | 2 +- .../locale.time.put.byname/put1.pass.cpp | 2 +- .../locale.time.put.members/iterators.h | 2 +- .../locale.time.put.members/put1.pass.cpp | 2 +- .../locale.time.put.members/put2.pass.cpp | 2 +- .../locale.time.put/types.pass.cpp | 6 +- .../locale.numpunct/types.pass.cpp | 10 +-- .../codecvt_utf16_length.pass.cpp | 2 +- .../codecvt_utf16_unshift.pass.cpp | 2 +- .../codecvt_utf8_length.pass.cpp | 2 +- .../codecvt_utf8_unshift.pass.cpp | 2 +- .../codecvt_utf8_utf16_length.pass.cpp | 2 +- .../codecvt_utf8_utf16_unshift.pass.cpp | 2 +- .../conversions.buffer/overflow.pass.cpp | 2 +- .../conversions.buffer/pbackfail.pass.cpp | 2 +- .../conversions.buffer/seekoff.pass.cpp | 4 +- .../conversions.buffer/underflow.pass.cpp | 2 +- .../locale/locale.operators/compare.pass.cpp | 4 +- .../locale.types/locale.facet/facet.pass.cpp | 12 +-- .../locale/locale.types/locale.id/id.pass.cpp | 2 +- 78 files changed, 297 insertions(+), 299 deletions(-) diff --git a/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/compare.pass.cpp b/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/compare.pass.cpp index e8fcaf18cdc5..77cd007eef61 100644 --- a/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/compare.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/compare.pass.cpp @@ -11,7 +11,7 @@ // template class collate_byname -// int compare(const charT* low1, const charT* high1, +// int compare(const charT* low1, const charT* high1, // const charT* low2, const charT* high2) const; // I'm currently unable to confirm that collation based on named locales diff --git a/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/types.pass.cpp b/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/types.pass.cpp index b8e79e4791c6..9be84eb762ba 100644 --- a/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/types.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/types.pass.cpp @@ -9,16 +9,16 @@ // -// template +// template // class collate_byname // : public collate // { -// public: -// typedef basic_string string_type; -// explicit collate_byname(const char*, size_t refs = 0); -// explicit collate_byname(const string&, size_t refs = 0); -// protected: -// ~collate_byname(); +// public: +// typedef basic_string string_type; +// explicit collate_byname(const char*, size_t refs = 0); +// explicit collate_byname(const string&, size_t refs = 0); +// protected: +// ~collate_byname(); // }; #include diff --git a/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/compare.pass.cpp b/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/compare.pass.cpp index 9e14109ea0c8..6507626d5ab8 100644 --- a/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/compare.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/compare.pass.cpp @@ -11,13 +11,12 @@ // template class collate; -// int compare(const charT* low1, const charT* high1, +// int compare(const charT* low1, const charT* high1, // const charT* low2, const charT* high2) const; #include #include - int main() { std::locale l = std::locale::classic(); diff --git a/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/transform.pass.cpp b/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/transform.pass.cpp index 538753afea1d..1110c6cf8f13 100644 --- a/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/transform.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.collate/locale.collate/locale.collate.members/transform.pass.cpp @@ -17,7 +17,6 @@ #include #include - int main() { std::locale l = std::locale::classic(); diff --git a/libcxx/test/localization/locale.categories/category.collate/locale.collate/types.pass.cpp b/libcxx/test/localization/locale.categories/category.collate/locale.collate/types.pass.cpp index ada318d3e3be..b8605a5805f6 100644 --- a/libcxx/test/localization/locale.categories/category.collate/locale.collate/types.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.collate/locale.collate/types.pass.cpp @@ -9,13 +9,13 @@ // -// template +// template // class collate -// : public locale::facet { -// public: -// typedef charT char_type; +// : public locale::facet { +// public: +// typedef charT char_type; // typedef basic_stringstring_type; -// +// // static locale::id id; // }; diff --git a/libcxx/test/localization/locale.categories/category.ctype/ctype_base.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/ctype_base.pass.cpp index fc267cebd7a2..e8d256a58709 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/ctype_base.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/ctype_base.pass.cpp @@ -10,22 +10,22 @@ // // class ctype_base -// { -// public: -// typedef T mask; -// -// // numeric values are for exposition only. -// static const mask space = 1 << 0; -// static const mask print = 1 << 1; -// static const mask cntrl = 1 << 2; -// static const mask upper = 1 << 3; -// static const mask lower = 1 << 4; -// static const mask alpha = 1 << 5; -// static const mask digit = 1 << 6; -// static const mask punct = 1 << 7; -// static const mask xdigit = 1 << 8; -// static const mask alnum = alpha | digit; -// static const mask graph = alnum | punct; +// { +// public: +// typedef T mask; +// +// // numeric values are for exposition only. +// static const mask space = 1 << 0; +// static const mask print = 1 << 1; +// static const mask cntrl = 1 << 2; +// static const mask upper = 1 << 3; +// static const mask lower = 1 << 4; +// static const mask alpha = 1 << 5; +// static const mask digit = 1 << 6; +// static const mask punct = 1 << 7; +// static const mask xdigit = 1 << 8; +// static const mask alnum = alpha | digit; +// static const mask graph = alnum | punct; // }; #include @@ -54,4 +54,4 @@ int main() & std::ctype_base::xdigit) == 0); assert(std::ctype_base::alnum == (std::ctype_base::alpha | std::ctype_base::digit)); assert(std::ctype_base::graph == (std::ctype_base::alnum | std::ctype_base::punct)); -} \ No newline at end of file +} diff --git a/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/types.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/types.pass.cpp index b2e2fcbb0d1d..b46f5a4c21d9 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/types.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/types.pass.cpp @@ -9,13 +9,13 @@ // -// template <> +// template <> // class ctype // : public locale::facet, // public ctype_base // { -// public: -// typedef char char_type; +// public: +// typedef char char_type; // }; #include diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/codecvt_base.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/codecvt_base.pass.cpp index f0bcee6961db..a2977c80c388 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/codecvt_base.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/codecvt_base.pass.cpp @@ -11,7 +11,7 @@ // class codecvt_base // { -// public: +// public: // enum result {ok, partial, error, noconv}; // }; diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char16_t_in.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char16_t_in.pass.cpp index 9396ca38748a..fcfcc39e3496 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char16_t_in.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char16_t_in.pass.cpp @@ -11,8 +11,8 @@ // template <> class codecvt -// result in(stateT& state, -// const externT* from, const externT* from_end, const externT*& from_next, +// result in(stateT& state, +// const externT* from, const externT* from_end, const externT*& from_next, // internT* to, internT* to_end, internT*& to_next) const; #include diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char16_t_out.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char16_t_out.pass.cpp index af5e2827d088..e3e746f68dc2 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char16_t_out.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char16_t_out.pass.cpp @@ -11,8 +11,8 @@ // template <> class codecvt -// result out(stateT& state, -// const internT* from, const internT* from_end, const internT*& from_next, +// result out(stateT& state, +// const internT* from, const internT* from_end, const internT*& from_next, // externT* to, externT* to_end, externT*& to_next) const; #include diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char32_t_in.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char32_t_in.pass.cpp index d1c53e5dde92..9f34893b9bbd 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char32_t_in.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char32_t_in.pass.cpp @@ -11,8 +11,8 @@ // template <> class codecvt -// result in(stateT& state, -// const externT* from, const externT* from_end, const externT*& from_next, +// result in(stateT& state, +// const externT* from, const externT* from_end, const externT*& from_next, // internT* to, internT* to_end, internT*& to_next) const; #include diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char32_t_out.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char32_t_out.pass.cpp index 5f08e8ad6ef3..204eedd1383c 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char32_t_out.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char32_t_out.pass.cpp @@ -11,8 +11,8 @@ // template <> class codecvt -// result out(stateT& state, -// const internT* from, const internT* from_end, const internT*& from_next, +// result out(stateT& state, +// const internT* from, const internT* from_end, const internT*& from_next, // externT* to, externT* to_end, externT*& to_next) const; #include diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char_in.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char_in.pass.cpp index e9cce2084a9f..dc788363389c 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char_in.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char_in.pass.cpp @@ -11,8 +11,8 @@ // template <> class codecvt -// result in(stateT& state, -// const externT* from, const externT* from_end, const externT*& from_next, +// result in(stateT& state, +// const externT* from, const externT* from_end, const externT*& from_next, // internT* to, internT* to_end, internT*& to_next) const; #include diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char_out.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char_out.pass.cpp index 5da8572b7a93..329b150ddd25 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char_out.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/char_out.pass.cpp @@ -11,8 +11,8 @@ // template <> class codecvt -// result out(stateT& state, -// const internT* from, const internT* from_end, const internT*& from_next, +// result out(stateT& state, +// const internT* from, const internT* from_end, const internT*& from_next, // externT* to, externT* to_end, externT*& to_next) const; #include diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/wchar_t_in.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/wchar_t_in.pass.cpp index 955fc0eed7d6..c1b76b00be82 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/wchar_t_in.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/wchar_t_in.pass.cpp @@ -11,8 +11,8 @@ // template <> class codecvt -// result in(stateT& state, -// const externT* from, const externT* from_end, const externT*& from_next, +// result in(stateT& state, +// const externT* from, const externT* from_end, const externT*& from_next, // internT* to, internT* to_end, internT*& to_next) const; #include diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/wchar_t_out.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/wchar_t_out.pass.cpp index b58e61bdb0c7..986963abaf4a 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/wchar_t_out.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/wchar_t_out.pass.cpp @@ -11,8 +11,8 @@ // template <> class codecvt -// result out(stateT& state, -// const internT* from, const internT* from_end, const internT*& from_next, +// result out(stateT& state, +// const internT* from, const internT* from_end, const internT*& from_next, // externT* to, externT* to_end, externT*& to_next) const; #include diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_char.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_char.pass.cpp index e9d3e7127ca3..113d97595ca6 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_char.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_char.pass.cpp @@ -14,10 +14,10 @@ // : public locale::facet, // public codecvt_base // { -// public: -// typedef char intern_type; -// typedef char extern_type; -// typedef mbstate_t state_type; +// public: +// typedef char intern_type; +// typedef char extern_type; +// typedef mbstate_t state_type; // ... // }; diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_char16_t.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_char16_t.pass.cpp index ba5fbee8951f..c2da1184e4d1 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_char16_t.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_char16_t.pass.cpp @@ -14,10 +14,10 @@ // : public locale::facet, // public codecvt_base // { -// public: -// typedef char16_t intern_type; -// typedef char extern_type; -// typedef mbstate_t state_type; +// public: +// typedef char16_t intern_type; +// typedef char extern_type; +// typedef mbstate_t state_type; // ... // }; diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_char32_t.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_char32_t.pass.cpp index d54ad8495c92..ae15fc85ba49 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_char32_t.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_char32_t.pass.cpp @@ -14,10 +14,10 @@ // : public locale::facet, // public codecvt_base // { -// public: -// typedef char32_t intern_type; -// typedef char extern_type; -// typedef mbstate_t state_type; +// public: +// typedef char32_t intern_type; +// typedef char extern_type; +// typedef mbstate_t state_type; // ... // }; diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_wchar_t.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_wchar_t.pass.cpp index 4c8dc20799ed..0c80225e81bc 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_wchar_t.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/types_wchar_t.pass.cpp @@ -14,10 +14,10 @@ // : public locale::facet, // public codecvt_base // { -// public: -// typedef wchar_t intern_type; -// typedef char extern_type; -// typedef mbstate_t state_type; +// public: +// typedef wchar_t intern_type; +// typedef char extern_type; +// typedef mbstate_t state_type; // ... // }; diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/is_1.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/is_1.pass.cpp index 315804b7491b..f178d7b20afe 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/is_1.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/is_1.pass.cpp @@ -24,37 +24,37 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.is(F::space, L' ')); assert(!f.is(F::space, L'A')); - + assert(f.is(F::print, L' ')); assert(!f.is(F::print, L'\x07')); - + assert(f.is(F::cntrl, L'\x07')); assert(!f.is(F::cntrl, L' ')); - + assert(f.is(F::upper, L'A')); assert(!f.is(F::upper, L'a')); - + assert(f.is(F::lower, L'a')); assert(!f.is(F::lower, L'A')); - + assert(f.is(F::alpha, L'a')); assert(!f.is(F::alpha, L'1')); - + assert(f.is(F::digit, L'1')); assert(!f.is(F::digit, L'a')); - + assert(f.is(F::punct, L'.')); assert(!f.is(F::punct, L'a')); - + assert(f.is(F::xdigit, L'a')); assert(!f.is(F::xdigit, L'g')); - + assert(f.is(F::alnum, L'a')); assert(!f.is(F::alnum, L'.')); - + assert(f.is(F::graph, L'.')); assert(!f.is(F::graph, L'\x07')); @@ -67,37 +67,37 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.is(F::space, L' ')); assert(!f.is(F::space, L'A')); - + assert(f.is(F::print, L' ')); assert(!f.is(F::print, L'\x07')); - + assert(f.is(F::cntrl, L'\x07')); assert(!f.is(F::cntrl, L' ')); - + assert(f.is(F::upper, L'A')); assert(!f.is(F::upper, L'a')); - + assert(f.is(F::lower, L'a')); assert(!f.is(F::lower, L'A')); - + assert(f.is(F::alpha, L'a')); assert(!f.is(F::alpha, L'1')); - + assert(f.is(F::digit, L'1')); assert(!f.is(F::digit, L'a')); - + assert(f.is(F::punct, L'.')); assert(!f.is(F::punct, L'a')); - + assert(f.is(F::xdigit, L'a')); assert(!f.is(F::xdigit, L'g')); - + assert(f.is(F::alnum, L'a')); assert(!f.is(F::alnum, L'.')); - + assert(f.is(F::graph, L'.')); assert(!f.is(F::graph, L'\x07')); diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/is_many.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/is_many.pass.cpp index 3b0b2dbfa8a8..ca66e61e73d6 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/is_many.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/is_many.pass.cpp @@ -31,7 +31,7 @@ int main() std::vector m(in.size()); const wchar_t* h = f.is(in.data(), in.data() + in.size(), m.data()); assert(h == in.data() + in.size()); - + // L'\x00DA' assert(!(m[0] & F::space)); assert( (m[0] & F::print)); @@ -45,7 +45,7 @@ int main() assert(!(m[0] & F::blank)); assert( (m[0] & F::alnum)); assert( (m[0] & F::graph)); - + // L' ' assert( (m[1] & F::space)); assert( (m[1] & F::print)); @@ -59,7 +59,7 @@ int main() assert( (m[1] & F::blank)); assert(!(m[1] & F::alnum)); assert(!(m[1] & F::graph)); - + // L'A' assert(!(m[2] & F::space)); assert( (m[2] & F::print)); @@ -73,7 +73,7 @@ int main() assert(!(m[2] & F::blank)); assert( (m[2] & F::alnum)); assert( (m[2] & F::graph)); - + // L'\x07' assert(!(m[3] & F::space)); assert(!(m[3] & F::print)); @@ -87,7 +87,7 @@ int main() assert(!(m[3] & F::blank)); assert(!(m[3] & F::alnum)); assert(!(m[3] & F::graph)); - + // L'.' assert(!(m[4] & F::space)); assert( (m[4] & F::print)); @@ -101,7 +101,7 @@ int main() assert(!(m[4] & F::blank)); assert(!(m[4] & F::alnum)); assert( (m[4] & F::graph)); - + // L'a' assert(!(m[5] & F::space)); assert( (m[5] & F::print)); @@ -115,7 +115,7 @@ int main() assert(!(m[5] & F::blank)); assert( (m[5] & F::alnum)); assert( (m[5] & F::graph)); - + // L'1' assert(!(m[6] & F::space)); assert( (m[6] & F::print)); @@ -140,7 +140,7 @@ int main() std::vector m(in.size()); const wchar_t* h = f.is(in.data(), in.data() + in.size(), m.data()); assert(h == in.data() + in.size()); - + // L'\x00DA' assert(!(m[0] & F::space)); assert(!(m[0] & F::print)); @@ -154,7 +154,7 @@ int main() assert(!(m[0] & F::blank)); assert(!(m[0] & F::alnum)); assert(!(m[0] & F::graph)); - + // L' ' assert( (m[1] & F::space)); assert( (m[1] & F::print)); @@ -168,7 +168,7 @@ int main() assert( (m[1] & F::blank)); assert(!(m[1] & F::alnum)); assert(!(m[1] & F::graph)); - + // L'A' assert(!(m[2] & F::space)); assert( (m[2] & F::print)); @@ -182,7 +182,7 @@ int main() assert(!(m[2] & F::blank)); assert( (m[2] & F::alnum)); assert( (m[2] & F::graph)); - + // L'\x07' assert(!(m[3] & F::space)); assert(!(m[3] & F::print)); @@ -196,7 +196,7 @@ int main() assert(!(m[3] & F::blank)); assert(!(m[3] & F::alnum)); assert(!(m[3] & F::graph)); - + // L'.' assert(!(m[4] & F::space)); assert( (m[4] & F::print)); @@ -210,7 +210,7 @@ int main() assert(!(m[4] & F::blank)); assert(!(m[4] & F::alnum)); assert( (m[4] & F::graph)); - + // L'a' assert(!(m[5] & F::space)); assert( (m[5] & F::print)); @@ -224,7 +224,7 @@ int main() assert(!(m[5] & F::blank)); assert( (m[5] & F::alnum)); assert( (m[5] & F::graph)); - + // L'1' assert(!(m[6] & F::space)); assert( (m[6] & F::print)); diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_1.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_1.pass.cpp index f633ace00e27..9a2fb734bfbb 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_1.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_1.pass.cpp @@ -23,7 +23,7 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.narrow(L' ', '*') == ' '); assert(f.narrow(L'A', '*') == 'A'); assert(f.narrow(L'\x07', '*') == '\x07'); @@ -38,7 +38,7 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.narrow(L' ', '*') == ' '); assert(f.narrow(L'A', '*') == 'A'); assert(f.narrow(L'\x07', '*') == '\x07'); diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_many.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_many.pass.cpp index a3f1d1f27407..f7fb3010b022 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_many.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/narrow_many.pass.cpp @@ -27,7 +27,7 @@ int main() const F& f = std::use_facet(l); std::wstring in(L" A\x07.a1\xDA"); std::vector v(in.size()); - + assert(f.narrow(&in[0], in.data() + in.size(), '*', v.data()) == in.data() + in.size()); assert(v[0] == ' '); assert(v[1] == 'A'); @@ -45,7 +45,7 @@ int main() const F& f = std::use_facet(l); std::wstring in(L" A\x07.a1\xDA"); std::vector v(in.size()); - + assert(f.narrow(&in[0], in.data() + in.size(), '*', v.data()) == in.data() + in.size()); assert(v[0] == ' '); assert(v[1] == 'A'); diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/tolower_1.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/tolower_1.pass.cpp index 90464cb5e471..6eaa23a2fe18 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/tolower_1.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/tolower_1.pass.cpp @@ -23,7 +23,7 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.tolower(' ') == ' '); assert(f.tolower('A') == 'a'); assert(f.tolower('\x07') == '\x07'); @@ -39,7 +39,7 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.tolower(' ') == ' '); assert(f.tolower('A') == 'a'); assert(f.tolower('\x07') == '\x07'); @@ -55,7 +55,7 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.tolower(L' ') == L' '); assert(f.tolower(L'A') == L'a'); assert(f.tolower(L'\x07') == L'\x07'); @@ -71,7 +71,7 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.tolower(L' ') == L' '); assert(f.tolower(L'A') == L'a'); assert(f.tolower(L'\x07') == L'\x07'); diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/tolower_many.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/tolower_many.pass.cpp index 4936d2f85282..82142b6737d1 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/tolower_many.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/tolower_many.pass.cpp @@ -25,7 +25,7 @@ int main() typedef std::ctype F; const F& f = std::use_facet(l); std::string in("\xDA A\x07.a1"); - + assert(f.tolower(&in[0], in.data() + in.size()) == in.data() + in.size()); assert(in[0] == '\xDA'); assert(in[1] == ' '); @@ -42,7 +42,7 @@ int main() typedef std::ctype F; const F& f = std::use_facet(l); std::string in("\xDA A\x07.a1"); - + assert(f.tolower(&in[0], in.data() + in.size()) == in.data() + in.size()); assert(in[0] == '\xDA'); assert(in[1] == ' '); @@ -59,7 +59,7 @@ int main() typedef std::ctype F; const F& f = std::use_facet(l); std::wstring in(L"\xDA A\x07.a1"); - + assert(f.tolower(&in[0], in.data() + in.size()) == in.data() + in.size()); assert(in[0] == L'\xFA'); assert(in[1] == L' '); @@ -76,7 +76,7 @@ int main() typedef std::ctype F; const F& f = std::use_facet(l); std::wstring in(L"\xDA A\x07.a1"); - + assert(f.tolower(&in[0], in.data() + in.size()) == in.data() + in.size()); assert(in[0] == L'\xDA'); assert(in[1] == L' '); diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/toupper_1.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/toupper_1.pass.cpp index 7c1d76a8216a..d36c8b642470 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/toupper_1.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/toupper_1.pass.cpp @@ -23,7 +23,7 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.toupper(' ') == ' '); assert(f.toupper('A') == 'A'); assert(f.toupper('\x07') == '\x07'); @@ -39,7 +39,7 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.toupper(' ') == ' '); assert(f.toupper('A') == 'A'); assert(f.toupper('\x07') == '\x07'); @@ -55,7 +55,7 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.toupper(L' ') == L' '); assert(f.toupper(L'A') == L'A'); assert(f.toupper(L'\x07') == L'\x07'); @@ -71,7 +71,7 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.toupper(L' ') == L' '); assert(f.toupper(L'A') == L'A'); assert(f.toupper(L'\x07') == L'\x07'); diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/toupper_many.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/toupper_many.pass.cpp index b9204538aefa..c029bf01df0f 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/toupper_many.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/toupper_many.pass.cpp @@ -25,7 +25,7 @@ int main() typedef std::ctype F; const F& f = std::use_facet(l); std::string in("\xFA A\x07.a1"); - + assert(f.toupper(&in[0], in.data() + in.size()) == in.data() + in.size()); assert(in[0] == '\xFA'); assert(in[1] == ' '); @@ -42,7 +42,7 @@ int main() typedef std::ctype F; const F& f = std::use_facet(l); std::string in("\xFA A\x07.a1"); - + assert(f.toupper(&in[0], in.data() + in.size()) == in.data() + in.size()); assert(in[0] == '\xFA'); assert(in[1] == ' '); @@ -59,7 +59,7 @@ int main() typedef std::ctype F; const F& f = std::use_facet(l); std::wstring in(L"\xFA A\x07.a1"); - + assert(f.toupper(&in[0], in.data() + in.size()) == in.data() + in.size()); assert(in[0] == L'\xDA'); assert(in[1] == L' '); @@ -76,7 +76,7 @@ int main() typedef std::ctype F; const F& f = std::use_facet(l); std::wstring in(L"\xFA A\x07.a1"); - + assert(f.toupper(&in[0], in.data() + in.size()) == in.data() + in.size()); assert(in[0] == L'\xFA'); assert(in[1] == L' '); diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp index 0a1215cb3759..3185f73800b0 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/types.pass.cpp @@ -13,12 +13,12 @@ // class ctype_byname // : public ctype // { -// public: -// explicit ctype_byname(const char*, size_t = 0); -// explicit ctype_byname(const string&, size_t = 0); -// -// protected: -// ~ctype_byname(); +// public: +// explicit ctype_byname(const char*, size_t = 0); +// explicit ctype_byname(const string&, size_t = 0); +// +// protected: +// ~ctype_byname(); // }; #include diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp index 859647176847..f8b43b7bb26b 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp @@ -26,7 +26,7 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.widen(' ') == L' '); assert(f.widen('A') == L'A'); assert(f.widen('\x07') == L'\x07'); @@ -41,7 +41,7 @@ int main() { typedef std::ctype F; const F& f = std::use_facet(l); - + assert(f.widen(' ') == L' '); assert(f.widen('A') == L'A'); assert(f.widen('\x07') == L'\x07'); diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/widen_many.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/widen_many.pass.cpp index 300f88c507b2..aa2765dc8dc8 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/widen_many.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/widen_many.pass.cpp @@ -29,7 +29,7 @@ int main() const F& f = std::use_facet(l); std::string in(" A\x07.a1\x85"); std::vector v(in.size()); - + assert(f.widen(&in[0], in.data() + in.size(), v.data()) == in.data() + in.size()); assert(v[0] == L' '); assert(v[1] == L'A'); @@ -47,7 +47,7 @@ int main() const F& f = std::use_facet(l); std::string in(" A\x07.a1\x85"); std::vector v(in.size()); - + assert(f.widen(&in[0], in.data() + in.size(), v.data()) == in.data() + in.size()); assert(v[0] == L' '); assert(v[1] == L'A'); diff --git a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/types.pass.cpp b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/types.pass.cpp index 847e6c435eb6..5af5e0d97926 100644 --- a/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/types.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/types.pass.cpp @@ -9,13 +9,13 @@ // -// template +// template // class ctype // : public locale::facet, // public ctype_base // { -// public: -// typedef CharT char_type; +// public: +// typedef CharT char_type; // }; #include diff --git a/libcxx/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/iterators.h b/libcxx/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/iterators.h index 5e3ff314d85d..7b0f63384de7 100644 --- a/libcxx/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/iterators.h +++ b/libcxx/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/iterators.h @@ -52,4 +52,4 @@ operator!=(const input_iterator& x, const input_iterator& y) return !(x == y); } -#endif +#endif // ITERATORS_H diff --git a/libcxx/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/iterators.h b/libcxx/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/iterators.h index 791e41642439..fa6e1004e1f1 100644 --- a/libcxx/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/iterators.h +++ b/libcxx/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/iterators.h @@ -30,4 +30,4 @@ public: {output_iterator tmp(*this); ++(*this); return tmp;} }; -#endif +#endif // ITERATORS_H diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/iterators.h b/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/iterators.h index 791e41642439..fa6e1004e1f1 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/iterators.h +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/iterators.h @@ -30,4 +30,4 @@ public: {output_iterator tmp(*this); ++(*this); return tmp;} }; -#endif +#endif // ITERATORS_H diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/types.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/types.pass.cpp index 1c09ee90f65b..12f99512c04b 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/types.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/types.pass.cpp @@ -9,12 +9,12 @@ // -// template > +// template > // class num_put // : public locale::facet // { -// public: -// typedef charT char_type; +// public: +// typedef charT char_type; // typedef OutputIterator iter_type; #include diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_bool.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_bool.pass.cpp index 5d59065fb0db..69fde51f8c27 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_bool.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_bool.pass.cpp @@ -60,7 +60,7 @@ int main() const char str[] = "1"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, b); @@ -72,7 +72,7 @@ int main() const char str[] = "0"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, b); @@ -84,7 +84,7 @@ int main() const char str[] = "12"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, b); @@ -96,7 +96,7 @@ int main() const char str[] = "*12"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, b); @@ -109,7 +109,7 @@ int main() const char str[] = "1"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, b); @@ -121,7 +121,7 @@ int main() const char str[] = "true"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, b); @@ -133,7 +133,7 @@ int main() const char str[] = "false"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, b); @@ -146,7 +146,7 @@ int main() const char str[] = "a"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+1), ios, err, b); @@ -158,7 +158,7 @@ int main() const char str[] = "abc"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+3), ios, err, b); @@ -170,7 +170,7 @@ int main() const char str[] = "acc"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+3), ios, err, b); @@ -183,7 +183,7 @@ int main() const char str[] = "a"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+1), ios, err, b); @@ -195,7 +195,7 @@ int main() const char str[] = "ab"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+2), ios, err, b); @@ -207,7 +207,7 @@ int main() const char str[] = "abc"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+3), ios, err, b); @@ -219,7 +219,7 @@ int main() const char str[] = "ac"; std::ios_base::iostate err = ios.goodbit; bool b; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+2), ios, err, b); diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_double.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_double.pass.cpp index 54c09c89efe7..b49763a7ef16 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_double.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_double.pass.cpp @@ -53,7 +53,7 @@ int main() assert((ios.flags() & ios.basefield) == ios.dec); assert(ios.getloc().name() == "C"); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -64,7 +64,7 @@ int main() { const char str[] = "-123"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -75,7 +75,7 @@ int main() { const char str[] = "123.5"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -87,7 +87,7 @@ int main() const char str[] = "125e-1"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -99,7 +99,7 @@ int main() const char str[] = "0x125p-1"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -111,7 +111,7 @@ int main() const char str[] = "inf"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -123,7 +123,7 @@ int main() const char str[] = "INF"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -135,7 +135,7 @@ int main() const char str[] = "-inf"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -147,7 +147,7 @@ int main() const char str[] = "-INF"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -159,7 +159,7 @@ int main() const char str[] = "nan"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -171,7 +171,7 @@ int main() const char str[] = "NAN"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -183,7 +183,7 @@ int main() v = -1; const char str[] = "123_456_78_9;125"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -196,7 +196,7 @@ int main() v = -1; const char str[] = "123_456_78_9;125"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -218,7 +218,7 @@ int main() "1_2_3_4_5_6_7_8_9_0_1_2_3_4_5_6_7_8_9_0_1_2_3_4_5_6_7_8_9_0_" "1_2_3_4_5_6_7_8_9_0_1_2_3_4_5_6_7_8_9_0_1_2_3_4_5_6_7_8_9_0_"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_float.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_float.pass.cpp index ca6e98497817..58d3e249ac80 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_float.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_float.pass.cpp @@ -41,7 +41,7 @@ int main() assert((ios.flags() & ios.basefield) == ios.dec); assert(ios.getloc().name() == "C"); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -52,7 +52,7 @@ int main() { const char str[] = "-123"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -63,7 +63,7 @@ int main() { const char str[] = "123.5"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -75,7 +75,7 @@ int main() const char str[] = "125e-1"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -87,7 +87,7 @@ int main() const char str[] = "0x125p-1"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -99,7 +99,7 @@ int main() const char str[] = "inf"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -111,7 +111,7 @@ int main() const char str[] = "INF"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -123,7 +123,7 @@ int main() const char str[] = "-inf"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -135,7 +135,7 @@ int main() const char str[] = "-INF"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -147,7 +147,7 @@ int main() const char str[] = "nan"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -159,7 +159,7 @@ int main() const char str[] = "NAN"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp index e2cbf441981a..881ce5160968 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp @@ -51,7 +51,7 @@ int main() assert((ios.flags() & ios.basefield) == ios.dec); assert(ios.getloc().name() == "C"); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -64,7 +64,7 @@ int main() assert((ios.flags() & ios.basefield) == ios.dec); assert(ios.getloc().name() == "C"); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -76,7 +76,7 @@ int main() const char str[] = "123"; oct(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -88,7 +88,7 @@ int main() const char str[] = "123"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -100,7 +100,7 @@ int main() const char str[] = "0x123"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -112,7 +112,7 @@ int main() const char str[] = "123"; ios.setf(0, ios.basefield); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -124,7 +124,7 @@ int main() const char str[] = "0x123"; ios.setf(0, ios.basefield); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -136,7 +136,7 @@ int main() const char str[] = "0123"; ios.setf(0, ios.basefield); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -150,7 +150,7 @@ int main() v = -1; const char str[] = "123"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -162,7 +162,7 @@ int main() v = -1; const char str[] = "+1"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -174,7 +174,7 @@ int main() v = -1; const char str[] = "+1_"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -186,7 +186,7 @@ int main() v = -1; const char str[] = "+_1"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -198,7 +198,7 @@ int main() v = -1; const char str[] = "_+1"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -210,7 +210,7 @@ int main() v = -1; const char str[] = "+1__"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -222,7 +222,7 @@ int main() v = -1; const char str[] = "+_1_"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -234,7 +234,7 @@ int main() v = -1; const char str[] = "_+1_"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -246,7 +246,7 @@ int main() v = -1; const char str[] = "+__1"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -258,7 +258,7 @@ int main() v = -1; const char str[] = "_+_1"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -270,7 +270,7 @@ int main() v = -1; const char str[] = "__+1"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -282,7 +282,7 @@ int main() v = -1; const char str[] = "+1_2"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -294,7 +294,7 @@ int main() v = -1; const char str[] = "+12_"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -306,7 +306,7 @@ int main() v = -1; const char str[] = "+_12"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -318,7 +318,7 @@ int main() v = -1; const char str[] = "+1__2"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -330,7 +330,7 @@ int main() v = -1; const char str[] = "+12_3"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -342,7 +342,7 @@ int main() v = -1; const char str[] = "+1_23"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -354,7 +354,7 @@ int main() v = -1; const char str[] = "+1_23_4"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -366,7 +366,7 @@ int main() v = -1; const char str[] = "+123_4"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -378,7 +378,7 @@ int main() v = -1; const char str[] = "+12_34"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -390,7 +390,7 @@ int main() v = -1; const char str[] = "+12_34_5"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -402,7 +402,7 @@ int main() v = -1; const char str[] = "+123_45_6"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -414,7 +414,7 @@ int main() v = -1; const char str[] = "+1_23_45_6"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -426,7 +426,7 @@ int main() v = -1; const char str[] = "+1_234_56_7"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -438,7 +438,7 @@ int main() v = -1; const char str[] = "+1_234_567_89_0"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -450,7 +450,7 @@ int main() v = -1; const char str[] = "-1_234_567_89_0"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -462,7 +462,7 @@ int main() v = -1; const char str[] = "1_234_567_89_0"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -474,7 +474,7 @@ int main() v = -1; const char str[] = "1234_567_89_0"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -496,7 +496,7 @@ int main() "1_2_3_4_5_6_7_8_9_0_1_2_3_4_5_6_7_8_9_0_1_2_3_4_5_6_7_8_9_0_" "1_2_3_4_5_6_7_8_9_0_1_2_3_4_5_6_7_8_9_0_1_2_3_4_5_6_7_8_9_0_"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_double.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_double.pass.cpp index c7e8af57ad5d..2c7ae888765b 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_double.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_double.pass.cpp @@ -41,7 +41,7 @@ int main() assert((ios.flags() & ios.basefield) == ios.dec); assert(ios.getloc().name() == "C"); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -52,7 +52,7 @@ int main() { const char str[] = "-123"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -63,7 +63,7 @@ int main() { const char str[] = "123.5"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -75,7 +75,7 @@ int main() const char str[] = "125e-1"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -87,7 +87,7 @@ int main() const char str[] = "0x125p-1"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -99,7 +99,7 @@ int main() const char str[] = "inf"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -111,7 +111,7 @@ int main() const char str[] = "INF"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -123,7 +123,7 @@ int main() const char str[] = "-inf"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -135,7 +135,7 @@ int main() const char str[] = "-INF"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -147,7 +147,7 @@ int main() const char str[] = "nan"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -159,7 +159,7 @@ int main() const char str[] = "NAN"; hex(ios); std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_long.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_long.pass.cpp index 8d1b201c2968..5b1fc8010a55 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_long.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_long.pass.cpp @@ -49,7 +49,7 @@ int main() { const char str[] = "0"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -60,7 +60,7 @@ int main() { const char str[] = "1"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -71,7 +71,7 @@ int main() { const char str[] = "-1"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -83,7 +83,7 @@ int main() { const char str[] = "0x7FFFFFFFFFFFFFFF"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -94,7 +94,7 @@ int main() { const char str[] = "-0x8000000000000000"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_pointer.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_pointer.pass.cpp index 506427441aac..f23ead2a0b4c 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_pointer.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_pointer.pass.cpp @@ -38,7 +38,7 @@ int main() const char str[] = "0x0"; std::ios_base::iostate err = ios.goodbit; void* p; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, p); @@ -50,7 +50,7 @@ int main() const char str[] = "0x73"; std::ios_base::iostate err = ios.goodbit; void* p; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, p); diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_int.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_int.pass.cpp index 4cf378bb53a2..08a747def727 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_int.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_int.pass.cpp @@ -49,7 +49,7 @@ int main() { const char str[] = "0"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -60,7 +60,7 @@ int main() { const char str[] = "1"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -72,7 +72,7 @@ int main() { const char str[] = "0xFFFFFFFF"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long.pass.cpp index 498774051d05..7623bb025068 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long.pass.cpp @@ -49,7 +49,7 @@ int main() { const char str[] = "0"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -60,7 +60,7 @@ int main() { const char str[] = "1"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -72,7 +72,7 @@ int main() { const char str[] = "0xFFFFFFFF"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long_long.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long_long.pass.cpp index 91e69222f04e..10d03bd8885c 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long_long.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long_long.pass.cpp @@ -49,7 +49,7 @@ int main() { const char str[] = "0"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -60,7 +60,7 @@ int main() { const char str[] = "1"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -72,7 +72,7 @@ int main() { const char str[] = "0xFFFFFFFFFFFFFFFF"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_short.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_short.pass.cpp index 97318ff69803..d091d1f72083 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_short.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_short.pass.cpp @@ -49,7 +49,7 @@ int main() { const char str[] = "0"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -60,7 +60,7 @@ int main() { const char str[] = "1"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); @@ -72,7 +72,7 @@ int main() { const char str[] = "0xFFFF"; std::ios_base::iostate err = ios.goodbit; - input_iterator iter = + input_iterator iter = f.get(input_iterator(str), input_iterator(str+sizeof(str)), ios, err, v); diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/iterators.h b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/iterators.h index 85332ac725d7..bbdeede9ff82 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/iterators.h +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/iterators.h @@ -248,4 +248,4 @@ operator-(const random_access_iterator& x, const random_access_iterator& y return x.base() - y.base(); } -#endif +#endif // ITERATORS_H diff --git a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/types.pass.cpp b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/types.pass.cpp index 6706f8d0aa9b..f91b3d71db12 100644 --- a/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/types.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/types.pass.cpp @@ -9,12 +9,12 @@ // -// template > +// template > // class num_get // : public locale::facet // { -// public: -// typedef charT char_type; +// public: +// typedef charT char_type; // typedef InputIterator iter_type; #include diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp index 008a75352172..2d82b3296bd5 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_one.pass.cpp @@ -11,7 +11,7 @@ // class time_get_byname -// iter_type get(iter_type s, iter_type end, ios_base& f, +// iter_type get(iter_type s, iter_type end, ios_base& f, // ios_base::iostate& err, tm *t, char format, char modifier = 0) const; #include diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_one_wide.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_one_wide.pass.cpp index c9e8d2b6de3f..b02652dc139b 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_one_wide.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_one_wide.pass.cpp @@ -11,7 +11,7 @@ // class time_get_byname -// iter_type get(iter_type s, iter_type end, ios_base& f, +// iter_type get(iter_type s, iter_type end, ios_base& f, // ios_base::iostate& err, tm *t, char format, char modifier = 0) const; #include diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_year.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_year.pass.cpp index 0b12b4bc4bcb..f42afa521359 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_year.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_year.pass.cpp @@ -11,7 +11,7 @@ // class time_get_byname -// iter_type get_year(iter_type s, iter_type end, ios_base& str, +// iter_type get_year(iter_type s, iter_type end, ios_base& str, // ios_base::iostate& err, tm* t) const; #include diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_year_wide.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_year_wide.pass.cpp index 02c1da492842..26164ef114dd 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_year_wide.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/get_year_wide.pass.cpp @@ -11,7 +11,7 @@ // class time_get_byname -// iter_type get_year(iter_type s, iter_type end, ios_base& str, +// iter_type get_year(iter_type s, iter_type end, ios_base& str, // ios_base::iostate& err, tm* t) const; #include diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/iterators.h b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/iterators.h index 5e3ff314d85d..7b0f63384de7 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/iterators.h +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/iterators.h @@ -52,4 +52,4 @@ operator!=(const input_iterator& x, const input_iterator& y) return !(x == y); } -#endif +#endif // ITERATORS_H diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/get_one.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/get_one.pass.cpp index 859f26cbaad1..373aa55da7aa 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/get_one.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/get_one.pass.cpp @@ -11,7 +11,7 @@ // class time_get -// iter_type get(iter_type s, iter_type end, ios_base& f, +// iter_type get(iter_type s, iter_type end, ios_base& f, // ios_base::iostate& err, tm *t, char format, char modifier = 0) const; #include diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/get_year.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/get_year.pass.cpp index 6ea770c65908..0995691d2d5e 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/get_year.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/get_year.pass.cpp @@ -11,7 +11,7 @@ // class time_get -// iter_type get_year(iter_type s, iter_type end, ios_base& str, +// iter_type get_year(iter_type s, iter_type end, ios_base& str, // ios_base::iostate& err, tm* t) const; #include diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/iterators.h b/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/iterators.h index 5e3ff314d85d..7b0f63384de7 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/iterators.h +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/iterators.h @@ -52,4 +52,4 @@ operator!=(const input_iterator& x, const input_iterator& y) return !(x == y); } -#endif +#endif // ITERATORS_H diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.get/types.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.get/types.pass.cpp index 699bc4ff474d..c5a3d161189e 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.get/types.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.get/types.pass.cpp @@ -14,14 +14,14 @@ // public: // enum dateorder {no_order, dmy, mdy, ymd, ydm}; // }; -// -// template > +// +// template > // class time_get // : public locale::facet, // public time_base // { -// public: -// typedef charT char_type; +// public: +// typedef charT char_type; // typedef InputIterator iter_type; #include diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.put.byname/iterators.h b/libcxx/test/localization/locale.categories/category.time/locale.time.put.byname/iterators.h index 791e41642439..fa6e1004e1f1 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.put.byname/iterators.h +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.put.byname/iterators.h @@ -30,4 +30,4 @@ public: {output_iterator tmp(*this); ++(*this); return tmp;} }; -#endif +#endif // ITERATORS_H diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp index e6bf3274f382..d9198593bce2 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.put.byname/put1.pass.cpp @@ -16,7 +16,7 @@ // public: // explicit time_put_byname(const char* nm, size_t refs = 0); // explicit time_put_byname(const string& nm, size_t refs = 0); -// +// // protected: // ~time_put_byname(); // }; diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/iterators.h b/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/iterators.h index 791e41642439..fa6e1004e1f1 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/iterators.h +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/iterators.h @@ -30,4 +30,4 @@ public: {output_iterator tmp(*this); ++(*this); return tmp;} }; -#endif +#endif // ITERATORS_H diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/put1.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/put1.pass.cpp index 2c810e9ddabe..e6d1db5c459b 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/put1.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/put1.pass.cpp @@ -11,7 +11,7 @@ // class time_put -// iter_type put(iter_type s, ios_base& str, char_type fill, const tm* t, +// iter_type put(iter_type s, ios_base& str, char_type fill, const tm* t, // const charT* pattern, const charT* pat_end) const; #include diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/put2.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/put2.pass.cpp index 101bceb2c79b..61c6d91b7505 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/put2.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/put2.pass.cpp @@ -11,7 +11,7 @@ // class time_put -// iter_type put(iter_type s, ios_base& str, char_type fill, const tm* t, +// iter_type put(iter_type s, ios_base& str, char_type fill, const tm* t, // char format, char modifier = 0) const; #include diff --git a/libcxx/test/localization/locale.categories/category.time/locale.time.put/types.pass.cpp b/libcxx/test/localization/locale.categories/category.time/locale.time.put/types.pass.cpp index a862edd9e592..85dc002470ac 100644 --- a/libcxx/test/localization/locale.categories/category.time/locale.time.put/types.pass.cpp +++ b/libcxx/test/localization/locale.categories/category.time/locale.time.put/types.pass.cpp @@ -9,12 +9,12 @@ // -// template > +// template > // class time_put // : public locale::facet // { -// public: -// typedef charT char_type; +// public: +// typedef charT char_type; // typedef OutputIterator iter_type; #include diff --git a/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/types.pass.cpp b/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/types.pass.cpp index 83742f0a985a..1cb85214b34f 100644 --- a/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/types.pass.cpp +++ b/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/types.pass.cpp @@ -9,13 +9,13 @@ // -// template +// template // class numpunct // : public locale::facet -// { -// public: -// typedef charT char_type; -// typedef basic_string string_type; +// { +// public: +// typedef charT char_type; +// typedef basic_string string_type; // static locale::id id; #include diff --git a/libcxx/test/localization/locale.stdcvt/codecvt_utf16_length.pass.cpp b/libcxx/test/localization/locale.stdcvt/codecvt_utf16_length.pass.cpp index 0154ec717ea7..3ef5f1947ba3 100644 --- a/libcxx/test/localization/locale.stdcvt/codecvt_utf16_length.pass.cpp +++ b/libcxx/test/localization/locale.stdcvt/codecvt_utf16_length.pass.cpp @@ -17,7 +17,7 @@ // // unspecified // }; -// int length(stateT& state, const externT* from, const externT* from_end, +// int length(stateT& state, const externT* from, const externT* from_end, // size_t max) const; #include diff --git a/libcxx/test/localization/locale.stdcvt/codecvt_utf16_unshift.pass.cpp b/libcxx/test/localization/locale.stdcvt/codecvt_utf16_unshift.pass.cpp index 61ab4648394e..ba5875599220 100644 --- a/libcxx/test/localization/locale.stdcvt/codecvt_utf16_unshift.pass.cpp +++ b/libcxx/test/localization/locale.stdcvt/codecvt_utf16_unshift.pass.cpp @@ -18,7 +18,7 @@ // }; // result -// unshift(stateT& state, +// unshift(stateT& state, // externT* to, externT* to_end, externT*& to_next) const; #include diff --git a/libcxx/test/localization/locale.stdcvt/codecvt_utf8_length.pass.cpp b/libcxx/test/localization/locale.stdcvt/codecvt_utf8_length.pass.cpp index f06caed24af8..2e44c13d5d4f 100644 --- a/libcxx/test/localization/locale.stdcvt/codecvt_utf8_length.pass.cpp +++ b/libcxx/test/localization/locale.stdcvt/codecvt_utf8_length.pass.cpp @@ -17,7 +17,7 @@ // // unspecified // }; -// int length(stateT& state, const externT* from, const externT* from_end, +// int length(stateT& state, const externT* from, const externT* from_end, // size_t max) const; #include diff --git a/libcxx/test/localization/locale.stdcvt/codecvt_utf8_unshift.pass.cpp b/libcxx/test/localization/locale.stdcvt/codecvt_utf8_unshift.pass.cpp index 054c1a71a98b..1d617e767c1a 100644 --- a/libcxx/test/localization/locale.stdcvt/codecvt_utf8_unshift.pass.cpp +++ b/libcxx/test/localization/locale.stdcvt/codecvt_utf8_unshift.pass.cpp @@ -18,7 +18,7 @@ // }; // result -// unshift(stateT& state, +// unshift(stateT& state, // externT* to, externT* to_end, externT*& to_next) const; #include diff --git a/libcxx/test/localization/locale.stdcvt/codecvt_utf8_utf16_length.pass.cpp b/libcxx/test/localization/locale.stdcvt/codecvt_utf8_utf16_length.pass.cpp index 2d93657f848d..f7651fb35cf0 100644 --- a/libcxx/test/localization/locale.stdcvt/codecvt_utf8_utf16_length.pass.cpp +++ b/libcxx/test/localization/locale.stdcvt/codecvt_utf8_utf16_length.pass.cpp @@ -17,7 +17,7 @@ // // unspecified // }; -// int length(stateT& state, const externT* from, const externT* from_end, +// int length(stateT& state, const externT* from, const externT* from_end, // size_t max) const; #include diff --git a/libcxx/test/localization/locale.stdcvt/codecvt_utf8_utf16_unshift.pass.cpp b/libcxx/test/localization/locale.stdcvt/codecvt_utf8_utf16_unshift.pass.cpp index dc9e65572808..186017ecc81e 100644 --- a/libcxx/test/localization/locale.stdcvt/codecvt_utf8_utf16_unshift.pass.cpp +++ b/libcxx/test/localization/locale.stdcvt/codecvt_utf8_utf16_unshift.pass.cpp @@ -18,7 +18,7 @@ // }; // result -// unshift(stateT& state, +// unshift(stateT& state, // externT* to, externT* to_end, externT*& to_next) const; #include diff --git a/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/overflow.pass.cpp b/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/overflow.pass.cpp index 891b759b2d72..2ee8dfb556aa 100644 --- a/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/overflow.pass.cpp +++ b/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/overflow.pass.cpp @@ -97,4 +97,4 @@ int main() assert(f.get() == -1); } std::remove("overflow.dat"); -} +} diff --git a/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/pbackfail.pass.cpp b/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/pbackfail.pass.cpp index 37359d4feeb4..792525d9cc60 100644 --- a/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/pbackfail.pass.cpp +++ b/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/pbackfail.pass.cpp @@ -56,4 +56,4 @@ int main() assert(f.sbumpc() == L'2'); assert(f.sgetc() == L'3'); } -} +} diff --git a/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/seekoff.pass.cpp b/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/seekoff.pass.cpp index f447c0dfff89..54281b37b4fa 100644 --- a/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/seekoff.pass.cpp +++ b/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/seekoff.pass.cpp @@ -11,9 +11,9 @@ // wbuffer_convert -// pos_type seekoff(off_type off, ios_base::seekdir way, +// pos_type seekoff(off_type off, ios_base::seekdir way, // ios_base::openmode which = ios_base::in | ios_base::out); -// pos_type seekpos(pos_type sp, +// pos_type seekpos(pos_type sp, // ios_base::openmode which = ios_base::in | ios_base::out); // This test is not entirely portable diff --git a/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/underflow.pass.cpp b/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/underflow.pass.cpp index 0e4497304d35..353f27d560b5 100644 --- a/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/underflow.pass.cpp +++ b/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/underflow.pass.cpp @@ -81,4 +81,4 @@ int main() assert(f.sbumpc() == 0x4E53); assert(f.sbumpc() == -1); } -} +} diff --git a/libcxx/test/localization/locales/locale/locale.operators/compare.pass.cpp b/libcxx/test/localization/locales/locale/locale.operators/compare.pass.cpp index e01e215b56a7..6d556773e672 100644 --- a/libcxx/test/localization/locales/locale/locale.operators/compare.pass.cpp +++ b/libcxx/test/localization/locales/locale/locale.operators/compare.pass.cpp @@ -9,8 +9,8 @@ // -// template -// bool operator()(const basic_string& s1, +// template +// bool operator()(const basic_string& s1, // const basic_string& s2) const; #include diff --git a/libcxx/test/localization/locales/locale/locale.types/locale.facet/facet.pass.cpp b/libcxx/test/localization/locales/locale/locale.types/locale.facet/facet.pass.cpp index b5d0ccfe3f4b..0f7aaccd059e 100644 --- a/libcxx/test/localization/locales/locale/locale.types/locale.facet/facet.pass.cpp +++ b/libcxx/test/localization/locales/locale/locale.types/locale.facet/facet.pass.cpp @@ -10,12 +10,12 @@ // // class locale::facet -// { -// protected: -// explicit facet(size_t refs = 0); -// virtual ~facet(); -// facet(const facet&) = delete; -// void operator=(const facet&) = delete; +// { +// protected: +// explicit facet(size_t refs = 0); +// virtual ~facet(); +// facet(const facet&) = delete; +// void operator=(const facet&) = delete; // }; // This test isn't portable diff --git a/libcxx/test/localization/locales/locale/locale.types/locale.id/id.pass.cpp b/libcxx/test/localization/locales/locale/locale.types/locale.id/id.pass.cpp index 8abf335c097a..94146ecb0a6d 100644 --- a/libcxx/test/localization/locales/locale/locale.types/locale.id/id.pass.cpp +++ b/libcxx/test/localization/locales/locale/locale.types/locale.id/id.pass.cpp @@ -11,7 +11,7 @@ // class locale::id // { -// public: +// public: // id(); // void operator=(const id&) = delete; // id(const id&) = delete;