From bf2897cf455f5d001beee1a33692395fa46677cb Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sun, 22 Aug 2010 00:47:54 +0000 Subject: [PATCH] Fixing whitespace problems llvm-svn: 111764 --- .../basic.string.hash/strings.pass.cpp | 2 +- .../strings/basic.string/input_iterator.h | 2 +- .../string.cons/copy_assignment.pass.cpp | 2 +- .../string.cons/initializer_list.pass.cpp | 2 +- .../initializer_list_assignment.pass.cpp | 2 +- .../string.cons/iter_alloc.pass.cpp | 4 +-- .../basic.string/string.cons/move.pass.cpp | 4 +-- .../string.cons/move_alloc.pass.cpp | 4 +-- .../string.cons/move_assignment.pass.cpp | 6 ++-- .../string.cons/pointer_assignment.pass.cpp | 2 +- .../basic.string/string.cons/substr.pass.cpp | 4 +-- .../string_append/initializer_list.pass.cpp | 2 +- .../string_append/iterator.pass.cpp | 2 +- .../string_append/pointer_size.pass.cpp | 2 +- .../string_append/size_char.pass.cpp | 2 +- .../string_append/string.pass.cpp | 2 +- .../string_append/string_size_size.pass.cpp | 2 +- .../string_assign/initializer_list.pass.cpp | 2 +- .../string_assign/iterator.pass.cpp | 2 +- .../string_assign/pointer_size.pass.cpp | 2 +- .../string_assign/rv_string.pass.cpp | 2 +- .../string_assign/size_char.pass.cpp | 2 +- .../string_assign/string.pass.cpp | 2 +- .../string_assign/string_size_size.pass.cpp | 2 +- .../string_erase/size_size.pass.cpp | 2 +- .../iter_initializer_list.pass.cpp | 2 +- .../string_insert/iter_iter_iter.pass.cpp | 2 +- .../string_insert/size_pointer.pass.cpp | 2 +- .../string_insert/size_pointer_size.pass.cpp | 2 +- .../string_insert/size_size_char.pass.cpp | 2 +- .../string_insert/size_string.pass.cpp | 2 +- .../size_string_size_size.pass.cpp | 4 +-- .../string_op+=/initializer_list.pass.cpp | 2 +- .../string_op+=/string.pass.cpp | 2 +- .../iter_iter_initializer_list.pass.cpp | 2 +- .../iter_iter_iter_iter.pass.cpp | 2 +- .../string_replace/iter_iter_pointer.pass.cpp | 2 +- .../iter_iter_pointer_size.pass.cpp | 2 +- .../iter_iter_size_char.pass.cpp | 2 +- .../string_replace/iter_iter_string.pass.cpp | 2 +- .../string_replace/size_size_pointer.pass.cpp | 2 +- .../size_size_pointer_size.pass.cpp | 2 +- .../size_size_size_char.pass.cpp | 2 +- .../string_replace/size_size_string.pass.cpp | 2 +- .../size_size_string_size_size.pass.cpp | 4 +-- .../string.io/get_line_delim_rv.pass.cpp | 2 +- .../string.io/get_line_rv.pass.cpp | 2 +- .../string.special/swap.pass.cpp | 4 +-- .../string_op!=/pointer_string.pass.cpp | 2 +- .../string_op!=/string_pointer.pass.cpp | 2 +- .../string_op!=/string_string.pass.cpp | 4 +-- .../string_op+/char_string.pass.cpp | 10 +++--- .../string_op+/pointer_string.pass.cpp | 10 +++--- .../string_op+/string_char.pass.cpp | 8 ++--- .../string_op+/string_pointer.pass.cpp | 10 +++--- .../string_op+/string_string.pass.cpp | 22 ++++++------- .../string_operator==/pointer_string.pass.cpp | 2 +- .../string_operator==/string_pointer.pass.cpp | 2 +- .../string_operator==/string_string.pass.cpp | 4 +-- .../string_opgt/pointer_string.pass.cpp | 2 +- .../string_opgt/string_pointer.pass.cpp | 2 +- .../string_opgt/string_string.pass.cpp | 4 +-- .../string_opgt=/pointer_string.pass.cpp | 2 +- .../string_opgt=/string_pointer.pass.cpp | 2 +- .../string_opgt=/string_string.pass.cpp | 4 +-- .../string_oplt/pointer_string.pass.cpp | 2 +- .../string_oplt/string_pointer.pass.cpp | 2 +- .../string_oplt/string_string.pass.cpp | 4 +-- .../string_oplt=/pointer_string.pass.cpp | 2 +- .../string_oplt=/string_pointer.pass.cpp | 2 +- .../string_oplt=/string_string.pass.cpp | 4 +-- .../strings/basic.string/test_allocator.h | 2 +- .../test/strings/basic.string/test_traits.h | 2 +- .../test/strings/basic.string/types.pass.cpp | 32 +++++++++---------- .../types.pass.cpp | 10 +++--- .../assign2.pass.cpp | 2 +- .../assign3.pass.cpp | 2 +- .../compare.pass.cpp | 2 +- .../copy.pass.cpp | 2 +- .../eq.pass.cpp | 2 +- .../eq_int_type.pass.cpp | 2 +- .../find.pass.cpp | 2 +- .../length.pass.cpp | 2 +- .../lt.pass.cpp | 2 +- .../move.pass.cpp | 2 +- .../not_eof.pass.cpp | 2 +- .../to_char_type.pass.cpp | 2 +- .../to_int_type.pass.cpp | 2 +- .../types.pass.cpp | 12 +++---- .../assign2.pass.cpp | 2 +- .../assign3.pass.cpp | 2 +- .../compare.pass.cpp | 2 +- .../copy.pass.cpp | 2 +- .../eq.pass.cpp | 2 +- .../eq_int_type.pass.cpp | 2 +- .../find.pass.cpp | 2 +- .../length.pass.cpp | 2 +- .../lt.pass.cpp | 2 +- .../move.pass.cpp | 2 +- .../not_eof.pass.cpp | 2 +- .../to_char_type.pass.cpp | 2 +- .../to_int_type.pass.cpp | 2 +- .../types.pass.cpp | 12 +++---- .../types.pass.cpp | 10 +++--- .../strings/string.classes/typedefs.pass.cpp | 10 +++--- 105 files changed, 182 insertions(+), 182 deletions(-) diff --git a/libcxx/test/strings/basic.string.hash/strings.pass.cpp b/libcxx/test/strings/basic.string.hash/strings.pass.cpp index a1b0a2777d62..eccb5934c3ed 100644 --- a/libcxx/test/strings/basic.string.hash/strings.pass.cpp +++ b/libcxx/test/strings/basic.string.hash/strings.pass.cpp @@ -43,6 +43,6 @@ int main() #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS test(); test(); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS test(); } diff --git a/libcxx/test/strings/basic.string/input_iterator.h b/libcxx/test/strings/basic.string/input_iterator.h index 5d1a1b0b15ef..37939a2e29a6 100644 --- a/libcxx/test/strings/basic.string/input_iterator.h +++ b/libcxx/test/strings/basic.string/input_iterator.h @@ -29,4 +29,4 @@ public: {return !(x == y);} }; -#endif +#endif // INPUT_ITERATOR_H diff --git a/libcxx/test/strings/basic.string/string.cons/copy_assignment.pass.cpp b/libcxx/test/strings/basic.string/string.cons/copy_assignment.pass.cpp index bbde44d01eba..c6e34e1b85ce 100644 --- a/libcxx/test/strings/basic.string/string.cons/copy_assignment.pass.cpp +++ b/libcxx/test/strings/basic.string/string.cons/copy_assignment.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // operator=(const basic_string& str); #include diff --git a/libcxx/test/strings/basic.string/string.cons/initializer_list.pass.cpp b/libcxx/test/strings/basic.string/string.cons/initializer_list.pass.cpp index 9b76f1bb394d..36b4fe47998e 100644 --- a/libcxx/test/strings/basic.string/string.cons/initializer_list.pass.cpp +++ b/libcxx/test/strings/basic.string/string.cons/initializer_list.pass.cpp @@ -28,5 +28,5 @@ int main() s = {L'a', L'b', L'c'}; assert(s == L"abc"); } -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.cons/initializer_list_assignment.pass.cpp b/libcxx/test/strings/basic.string/string.cons/initializer_list_assignment.pass.cpp index 82cb44cf115f..7a75fddeac3c 100644 --- a/libcxx/test/strings/basic.string/string.cons/initializer_list_assignment.pass.cpp +++ b/libcxx/test/strings/basic.string/string.cons/initializer_list_assignment.pass.cpp @@ -22,5 +22,5 @@ int main() s = {'a', 'b', 'c'}; assert(s == "abc"); } -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.cons/iter_alloc.pass.cpp b/libcxx/test/strings/basic.string/string.cons/iter_alloc.pass.cpp index 0b64a0c64e08..8af19b762306 100644 --- a/libcxx/test/strings/basic.string/string.cons/iter_alloc.pass.cpp +++ b/libcxx/test/strings/basic.string/string.cons/iter_alloc.pass.cpp @@ -9,8 +9,8 @@ // -// template -// basic_string(InputIterator begin, InputIterator end, +// template +// basic_string(InputIterator begin, InputIterator end, // const Allocator& a = Allocator()); #include diff --git a/libcxx/test/strings/basic.string/string.cons/move.pass.cpp b/libcxx/test/strings/basic.string/string.cons/move.pass.cpp index 6313e48e892a..93553c6f96dc 100644 --- a/libcxx/test/strings/basic.string/string.cons/move.pass.cpp +++ b/libcxx/test/strings/basic.string/string.cons/move.pass.cpp @@ -31,7 +31,7 @@ test(S s0) assert(s2.get_allocator() == s1.get_allocator()); } -#endif +#endif // _LIBCPP_MOVE int main() { @@ -41,5 +41,5 @@ int main() test(S(A(3))); test(S("1", A(5))); test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7))); -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.cons/move_alloc.pass.cpp b/libcxx/test/strings/basic.string/string.cons/move_alloc.pass.cpp index 74c80be035a9..3acb0055e700 100644 --- a/libcxx/test/strings/basic.string/string.cons/move_alloc.pass.cpp +++ b/libcxx/test/strings/basic.string/string.cons/move_alloc.pass.cpp @@ -31,7 +31,7 @@ test(S s0, const typename S::allocator_type& a) assert(s2.get_allocator() == a); } -#endif +#endif // _LIBCPP_MOVE int main() { @@ -41,5 +41,5 @@ int main() test(S(), A(3)); test(S("1"), A(5)); test(S("1234567890123456789012345678901234567890123456789012345678901234567890"), A(7)); -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.cons/move_assignment.pass.cpp b/libcxx/test/strings/basic.string/string.cons/move_assignment.pass.cpp index bc7ca146709d..4d604b28b961 100644 --- a/libcxx/test/strings/basic.string/string.cons/move_assignment.pass.cpp +++ b/libcxx/test/strings/basic.string/string.cons/move_assignment.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // operator=(basic_string&& str); #include @@ -31,7 +31,7 @@ test(S s1, S s2) assert(s1.capacity() >= s1.size()); } -#endif +#endif // _LIBCPP_MOVE int main() { @@ -52,5 +52,5 @@ int main() test(S("1234567890123456789012345678901234567890123456789012345678901234567890" "1234567890123456789012345678901234567890123456789012345678901234567890"), S("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz")); -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.cons/pointer_assignment.pass.cpp b/libcxx/test/strings/basic.string/string.cons/pointer_assignment.pass.cpp index f23e15e9064c..bde0480dd8ca 100644 --- a/libcxx/test/strings/basic.string/string.cons/pointer_assignment.pass.cpp +++ b/libcxx/test/strings/basic.string/string.cons/pointer_assignment.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // operator=(const charT* s); #include diff --git a/libcxx/test/strings/basic.string/string.cons/substr.pass.cpp b/libcxx/test/strings/basic.string/string.cons/substr.pass.cpp index 88c50621b170..61d0d1ead197 100644 --- a/libcxx/test/strings/basic.string/string.cons/substr.pass.cpp +++ b/libcxx/test/strings/basic.string/string.cons/substr.pass.cpp @@ -9,8 +9,8 @@ // -// basic_string(const basic_string& str, -// size_type pos, size_type n = npos, +// basic_string(const basic_string& str, +// size_type pos, size_type n = npos, // const Allocator& a = Allocator()); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_append/initializer_list.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_append/initializer_list.pass.cpp index 44690d7bcf19..c1b0806893c9 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_append/initializer_list.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_append/initializer_list.pass.cpp @@ -22,5 +22,5 @@ int main() s.append({'a', 'b', 'c'}); assert(s == "123abc"); } -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp index fc2acea4bc12..8b1711b6c320 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // basic_string& append(InputIterator first, InputIterator last); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp index 8aea4b80bd96..622bc51cf944 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // append(const charT* s, size_type n); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_append/size_char.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_append/size_char.pass.cpp index 1c9a07ec9cf3..f6d1d78e5dcd 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_append/size_char.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_append/size_char.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // append(size_type n, charT c); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_append/string.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_append/string.pass.cpp index aa37380415fa..c890653c8cb7 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_append/string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_append/string.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // append(const basic_string& str); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp index 25de33e4594d..9eb17b589fd6 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_append/string_size_size.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // append(const basic_string& str, size_type pos, size_type n); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_assign/initializer_list.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_assign/initializer_list.pass.cpp index f590e55e481d..36ea5cac37d3 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_assign/initializer_list.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_assign/initializer_list.pass.cpp @@ -22,5 +22,5 @@ int main() s.assign({'a', 'b', 'c'}); assert(s == "abc"); } -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp index b40e2a703c25..ffbc2bd82ce1 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // basic_string& assign(InputIterator first, InputIterator last); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp index 9d8ddfce42f3..aa8999832b47 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // assign(const charT* s, size_type n); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_assign/rv_string.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_assign/rv_string.pass.cpp index fae6895fbcef..2b230951e0d5 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_assign/rv_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_assign/rv_string.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // assign(basic_string&& str); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_assign/size_char.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_assign/size_char.pass.cpp index 3c9247fdd32c..6044dc10473d 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_assign/size_char.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_assign/size_char.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // assign(size_type n, charT c); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_assign/string.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_assign/string.pass.cpp index 93fb5fecff4f..44b856bd4b24 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_assign/string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_assign/string.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // assign(const basic_string& str); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_assign/string_size_size.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_assign/string_size_size.pass.cpp index a20e86b4e797..4d7f223d19fd 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_assign/string_size_size.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_assign/string_size_size.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // assign(const basic_string& str, size_type pos, size_type n); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp index ffe8779bca4f..7efdefffb76d 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // erase(size_type pos = 0, size_type n = npos); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_insert/iter_initializer_list.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_insert/iter_initializer_list.pass.cpp index e4727df1572b..b64385db19a3 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_insert/iter_initializer_list.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_insert/iter_initializer_list.pass.cpp @@ -23,5 +23,5 @@ int main() assert(i - s.begin() == 3); assert(s == "123abc456"); } -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp index 288a9450af8c..b89ea8f248ad 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // iterator insert(const_iterator p, InputIterator first, InputIterator last); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp index 48573fbc568b..83edaf68d65b 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // insert(size_type pos, const charT* s); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp index 20a35633924e..41f5fe7e5bd7 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // insert(size_type pos, const charT* s, size_type n); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_size_char.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_size_char.pass.cpp index 104e24b21342..d29e74896e98 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_size_char.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_size_char.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // insert(size_type pos, size_type n, charT c); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_string.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_string.pass.cpp index 78f40e237578..68fc7f016cd6 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_string.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // insert(size_type pos1, const basic_string& str); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_string_size_size.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_string_size_size.pass.cpp index 7aa5e35d4a84..19410b55f965 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_string_size_size.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_insert/size_string_size_size.pass.cpp @@ -9,8 +9,8 @@ // -// basic_string& -// insert(size_type pos1, const basic_string& str, +// basic_string& +// insert(size_type pos1, const basic_string& str, // size_type pos2, size_type n); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_op+=/initializer_list.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_op+=/initializer_list.pass.cpp index f039d91c3d14..cd32b4b767d5 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_op+=/initializer_list.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_op+=/initializer_list.pass.cpp @@ -22,5 +22,5 @@ int main() s += {'a', 'b', 'c'}; assert(s == "123abc"); } -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_op+=/string.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_op+=/string.pass.cpp index 5b8d1a51eea5..c227c35dcfdd 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_op+=/string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_op+=/string.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // operator+=(const basic_string& str); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_initializer_list.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_initializer_list.pass.cpp index c2453d1ceaef..f9de1333b815 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_initializer_list.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_initializer_list.pass.cpp @@ -22,5 +22,5 @@ int main() s.replace(s.begin() + 3, s.begin() + 6, {'a', 'b', 'c'}); assert(s == "123abc456"); } -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp index 264e4f1f080c..3adae2ea8f50 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // basic_string& // replace(iterator i1, iterator i2, InputIterator j1, InputIterator j2); diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer.pass.cpp index 5aa16838d8e4..67863a467138 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // replace(iterator i1, iterator i2, const charT* s); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer_size.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer_size.pass.cpp index 5d13fdb3b370..6f7ef9a1f62f 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer_size.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer_size.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // replace(iterator i1, iterator i2, const charT* s, size_type n); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_size_char.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_size_char.pass.cpp index 28f0883f103c..cccb9dedd5b4 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_size_char.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_size_char.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // replace(iterator i1, iterator i2, size_type n, charT c); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_string.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_string.pass.cpp index 32b144645068..80346da2fe40 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_replace/iter_iter_string.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // replace(iterator i1, iterator i2, const basic_string& str); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_pointer.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_pointer.pass.cpp index 3e1d5a469db1..a01bba832861 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_pointer.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_pointer.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // replace(size_type pos, size_type n1, const charT* s); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_pointer_size.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_pointer_size.pass.cpp index d4e141017438..16713274da51 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_pointer_size.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_pointer_size.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // replace(size_type pos, size_type n1, const charT* s, size_type n2); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp index 5dc48214ef07..ebbb6e6e8637 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_size_char.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // replace(size_type pos, size_type n1, size_type n2, charT c); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_string.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_string.pass.cpp index c0634f8d2356..ea83ce57c700 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_string.pass.cpp @@ -9,7 +9,7 @@ // -// basic_string& +// basic_string& // replace(size_type pos1, size_type n1, const basic_string& str); #include diff --git a/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp b/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp index 9b503119f0a1..99dfdb3e9a22 100644 --- a/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp +++ b/libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp @@ -9,8 +9,8 @@ // -// basic_string& -// replace(size_type pos1, size_type n1, const basic_string& str, +// basic_string& +// replace(size_type pos1, size_type n1, const basic_string& str, // size_type pos2, size_type n2); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string.io/get_line_delim_rv.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string.io/get_line_delim_rv.pass.cpp index 8f0eddc4ebae..6cd704bdeb65 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string.io/get_line_delim_rv.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string.io/get_line_delim_rv.pass.cpp @@ -31,5 +31,5 @@ int main() getline(std::wistringstream(L" abc* def* ghij"), s, L'*'); assert(s == L" abc"); } -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string.io/get_line_rv.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string.io/get_line_rv.pass.cpp index 4e10741a6a99..2a999cbf27c4 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string.io/get_line_rv.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string.io/get_line_rv.pass.cpp @@ -31,5 +31,5 @@ int main() getline(std::wistringstream(L" abc\n def\n ghij"), s); assert(s == L" abc"); } -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string.special/swap.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string.special/swap.pass.cpp index 0b74ef05b4f8..5c6f51e4f902 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string.special/swap.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string.special/swap.pass.cpp @@ -9,8 +9,8 @@ // -// template -// void swap(basic_string& lhs, +// template +// void swap(basic_string& lhs, // basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/pointer_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/pointer_string.pass.cpp index 3a9451ad23c4..83fe1c69545b 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/pointer_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/pointer_string.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // bool operator!=(const charT* lhs, const basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/string_pointer.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/string_pointer.pass.cpp index ef9bf6725ab3..026d66566da9 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/string_pointer.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/string_pointer.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // bool operator!=(const basic_string& lhs, const charT* rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/string_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/string_string.pass.cpp index 0a102d5fc7a3..4bd806814fc4 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/string_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_op!=/string_string.pass.cpp @@ -9,8 +9,8 @@ // -// template -// bool operator!=(const basic_string& lhs, +// template +// bool operator!=(const basic_string& lhs, // const basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_op+/char_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_op+/char_string.pass.cpp index a6d0d4f43d65..cbf046c78c21 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_op+/char_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_op+/char_string.pass.cpp @@ -9,11 +9,11 @@ // -// template -// basic_string +// template +// basic_string // operator+(charT lhs, const basic_string& rhs); -// template +// template // basic_string&& // operator+(charT lhs, basic_string&& rhs); @@ -36,7 +36,7 @@ test1(typename S::value_type lhs, S&& rhs, const S& x) assert(lhs + move(rhs) == x); } -#endif +#endif // _LIBCPP_MOVE typedef std::string S; @@ -54,5 +54,5 @@ int main() test1('a', S("1234567890"), S("a1234567890")); test1('a', S("12345678901234567890"), S("a12345678901234567890")); -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_op+/pointer_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_op+/pointer_string.pass.cpp index 53df0a45c18b..9a8dcedff13c 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_op+/pointer_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_op+/pointer_string.pass.cpp @@ -9,11 +9,11 @@ // -// template -// basic_string +// template +// basic_string // operator+(const charT* lhs, const basic_string& rhs); -// template +// template // basic_string&& // operator+(const charT* lhs, basic_string&& rhs); @@ -36,7 +36,7 @@ test1(const typename S::value_type* lhs, S&& rhs, const S& x) assert(lhs + move(rhs) == x); } -#endif +#endif // _LIBCPP_MOVE typedef std::string S; @@ -78,5 +78,5 @@ int main() test1("abcdefghijklmnopqrst", S("1234567890"), S("abcdefghijklmnopqrst1234567890")); test1("abcdefghijklmnopqrst", S("12345678901234567890"), S("abcdefghijklmnopqrst12345678901234567890")); -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_op+/string_char.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_op+/string_char.pass.cpp index 6a99529de31c..b55252e680c4 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_op+/string_char.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_op+/string_char.pass.cpp @@ -9,11 +9,11 @@ // -// template +// template // basic_string // operator+(const basic_string& lhs, charT rhs); -// template +// template // basic_string&& // operator+(basic_string&& lhs, charT rhs); @@ -36,7 +36,7 @@ test1(S&& lhs, typename S::value_type rhs, const S& x) assert(move(lhs) + rhs == x); } -#endif +#endif // _LIBCPP_MOVE typedef std::string S; @@ -54,5 +54,5 @@ int main() test1(S("abcdefghij"), '1', S("abcdefghij1")); test1(S("abcdefghijklmnopqrst"), '1', S("abcdefghijklmnopqrst1")); -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_op+/string_pointer.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_op+/string_pointer.pass.cpp index fd06a480b6c7..afe67356c72a 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_op+/string_pointer.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_op+/string_pointer.pass.cpp @@ -9,11 +9,11 @@ // -// template -// basic_string +// template +// basic_string // operator+(const basic_string& lhs, const charT* rhs); -// template +// template // basic_string&& // operator+(basic_string&& lhs, const charT* rhs); @@ -36,7 +36,7 @@ test1(S&& lhs, const typename S::value_type* rhs, const S& x) assert(move(lhs) + rhs == x); } -#endif +#endif // _LIBCPP_MOVE typedef std::string S; @@ -78,5 +78,5 @@ int main() test1(S("abcdefghijklmnopqrst"), "1234567890", S("abcdefghijklmnopqrst1234567890")); test1(S("abcdefghijklmnopqrst"), "12345678901234567890", S("abcdefghijklmnopqrst12345678901234567890")); -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_op+/string_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_op+/string_string.pass.cpp index 05ec210948e6..ef11400c43e2 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_op+/string_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_op+/string_string.pass.cpp @@ -9,24 +9,24 @@ // -// template -// basic_string -// operator+(const basic_string& lhs, +// template +// basic_string +// operator+(const basic_string& lhs, // const basic_string& rhs); -// template +// template // basic_string&& -// operator+(const basic_string&& lhs, +// operator+(const basic_string&& lhs, // const basic_string& rhs); -// template +// template // basic_string&& -// operator+(const basic_string& lhs, +// operator+(const basic_string& lhs, // const basic_string&& rhs); -// template +// template // basic_string&& -// operator+(const basic_string&& lhs, +// operator+(const basic_string&& lhs, // const basic_string&& rhs); #include @@ -62,7 +62,7 @@ test3(S&& lhs, S&& rhs, const S& x) assert(move(lhs) + move(rhs) == x); } -#endif +#endif // _LIBCPP_MOVE typedef std::string S; @@ -138,5 +138,5 @@ int main() test3(S("abcdefghijklmnopqrst"), S("1234567890"), S("abcdefghijklmnopqrst1234567890")); test3(S("abcdefghijklmnopqrst"), S("12345678901234567890"), S("abcdefghijklmnopqrst12345678901234567890")); -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/pointer_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/pointer_string.pass.cpp index c0db6d7e94ba..8e04b151026d 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/pointer_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/pointer_string.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // bool operator==(const charT* lhs, const basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/string_pointer.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/string_pointer.pass.cpp index ee4f5bf3a4d5..de6894a9ad77 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/string_pointer.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/string_pointer.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // bool operator==(const basic_string& lhs, const charT* rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/string_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/string_string.pass.cpp index fcc02d5285ec..ac2de4ed749a 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/string_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_operator==/string_string.pass.cpp @@ -9,8 +9,8 @@ // -// template -// bool operator==(const basic_string& lhs, +// template +// bool operator==(const basic_string& lhs, // const basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_opgt/pointer_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_opgt/pointer_string.pass.cpp index 06db6ac21549..90310b736dad 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_opgt/pointer_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_opgt/pointer_string.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // bool operator>(const charT* lhs, const basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_opgt/string_pointer.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_opgt/string_pointer.pass.cpp index 61e00961a726..8a25ed94dec3 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_opgt/string_pointer.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_opgt/string_pointer.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // bool operator>(const basic_string& lhs, const charT* rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_opgt/string_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_opgt/string_string.pass.cpp index 0ac07fa948ba..77465ca0638e 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_opgt/string_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_opgt/string_string.pass.cpp @@ -9,8 +9,8 @@ // -// template -// bool operator>(const basic_string& lhs, +// template +// bool operator>(const basic_string& lhs, // const basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_opgt=/pointer_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_opgt=/pointer_string.pass.cpp index 3e8078ffd78c..cfed430c703f 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_opgt=/pointer_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_opgt=/pointer_string.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // bool operator>=(const charT* lhs, const basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_opgt=/string_pointer.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_opgt=/string_pointer.pass.cpp index 6095b13cf64f..3edf44844b47 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_opgt=/string_pointer.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_opgt=/string_pointer.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // bool operator>=(const basic_string& lhs, const charT* rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_opgt=/string_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_opgt=/string_string.pass.cpp index 0315ae10dd29..0bb2b670cd08 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_opgt=/string_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_opgt=/string_string.pass.cpp @@ -9,8 +9,8 @@ // -// template -// bool operator>=(const basic_string& lhs, +// template +// bool operator>=(const basic_string& lhs, // const basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_oplt/pointer_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_oplt/pointer_string.pass.cpp index 92c322194438..cc2ae61d7b0a 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_oplt/pointer_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_oplt/pointer_string.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // bool operator<(const charT* lhs, const basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_oplt/string_pointer.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_oplt/string_pointer.pass.cpp index ea54651716a3..4da6f14a1c3b 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_oplt/string_pointer.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_oplt/string_pointer.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // bool operator<(const basic_string& lhs, const charT* rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_oplt/string_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_oplt/string_string.pass.cpp index b8805d4a86b1..e13b1c081a18 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_oplt/string_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_oplt/string_string.pass.cpp @@ -9,8 +9,8 @@ // -// template -// bool operator<(const basic_string& lhs, +// template +// bool operator<(const basic_string& lhs, // const basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_oplt=/pointer_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_oplt=/pointer_string.pass.cpp index 6b2312f5c648..57e5affcc590 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_oplt=/pointer_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_oplt=/pointer_string.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // bool operator<=(const charT* lhs, const basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_oplt=/string_pointer.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_oplt=/string_pointer.pass.cpp index 0bb4ab7b7835..d23ec538961c 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_oplt=/string_pointer.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_oplt=/string_pointer.pass.cpp @@ -9,7 +9,7 @@ // -// template +// template // bool operator<=(const basic_string& lhs, const charT* rhs); #include diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string_oplt=/string_string.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string_oplt=/string_string.pass.cpp index f5c336287e61..b4174953ad6b 100644 --- a/libcxx/test/strings/basic.string/string.nonmembers/string_oplt=/string_string.pass.cpp +++ b/libcxx/test/strings/basic.string/string.nonmembers/string_oplt=/string_string.pass.cpp @@ -9,8 +9,8 @@ // -// template -// bool operator<=(const basic_string& lhs, +// template +// bool operator<=(const basic_string& lhs, // const basic_string& rhs); #include diff --git a/libcxx/test/strings/basic.string/test_allocator.h b/libcxx/test/strings/basic.string/test_allocator.h index a949a25166e2..001ca98bd678 100644 --- a/libcxx/test/strings/basic.string/test_allocator.h +++ b/libcxx/test/strings/basic.string/test_allocator.h @@ -67,4 +67,4 @@ public: {return !(x == y);} }; -#endif +#endif // TEST_ALLOCATOR_H diff --git a/libcxx/test/strings/basic.string/test_traits.h b/libcxx/test/strings/basic.string/test_traits.h index 885d50b673b0..45268f7215b4 100644 --- a/libcxx/test/strings/basic.string/test_traits.h +++ b/libcxx/test/strings/basic.string/test_traits.h @@ -7,4 +7,4 @@ struct test_traits typedef charT char_type; }; -#endif +#endif // TEST_TRAITS_H diff --git a/libcxx/test/strings/basic.string/types.pass.cpp b/libcxx/test/strings/basic.string/types.pass.cpp index 9911a9359ee3..547272620ce3 100644 --- a/libcxx/test/strings/basic.string/types.pass.cpp +++ b/libcxx/test/strings/basic.string/types.pass.cpp @@ -11,25 +11,25 @@ // Test nested types and default template args: -// template, +// template, // class Allocator = allocator > // { // public: -// // types: -// typedef traits traits_type; -// typedef typename traits::char_type value_type; -// typedef Allocator allocator_type; -// typedef typename Allocator::size_type size_type; -// typedef typename Allocator::difference_type difference_type; -// typedef typename Allocator::reference reference; -// typedef typename Allocator::const_reference const_reference; -// typedef typename Allocator::pointer pointer; -// typedef typename Allocator::const_pointer const_pointer; -// typedef implementation-defined iterator; // See 23.1 -// typedef implementation-defined const_iterator; // See 23.1 -// typedef std::reverse_iterator reverse_iterator; -// typedef std::reverse_iterator const_reverse_iterator; -// static const size_type npos = -1; +// // types: +// typedef traits traits_type; +// typedef typename traits::char_type value_type; +// typedef Allocator allocator_type; +// typedef typename Allocator::size_type size_type; +// typedef typename Allocator::difference_type difference_type; +// typedef typename Allocator::reference reference; +// typedef typename Allocator::const_reference const_reference; +// typedef typename Allocator::pointer pointer; +// typedef typename Allocator::const_pointer const_pointer; +// typedef implementation-defined iterator; // See 23.1 +// typedef implementation-defined const_iterator; // See 23.1 +// typedef std::reverse_iterator reverse_iterator; +// typedef std::reverse_iterator const_reverse_iterator; +// static const size_type npos = -1; // }; #include diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/types.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/types.pass.cpp index 31b784674c27..aa00a862bfdf 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/types.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/types.pass.cpp @@ -11,11 +11,11 @@ // template<> struct char_traits -// typedef char char_type; -// typedef int int_type; -// typedef streamoff off_type; -// typedef streampos pos_type; -// typedef mbstate_t state_type; +// typedef char char_type; +// typedef int int_type; +// typedef streamoff off_type; +// typedef streampos pos_type; +// typedef mbstate_t state_type; #include #include diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp index 63f80815a03e..79f6b2bcb771 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign2.pass.cpp @@ -22,5 +22,5 @@ int main() char16_t c = u'\0'; std::char_traits::assign(c, u'a'); assert(c == u'a'); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp index e2a02a27845c..a2413b734de5 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/assign3.pass.cpp @@ -25,5 +25,5 @@ int main() assert(s2[0] == char16_t(5)); assert(s2[1] == char16_t(5)); assert(s2[2] == char16_t(5)); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp index d413b93f8340..711d61c3158b 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/compare.pass.cpp @@ -38,5 +38,5 @@ int main() assert(std::char_traits::compare(u"223", u"123", 3) > 0); assert(std::char_traits::compare(u"133", u"123", 3) > 0); assert(std::char_traits::compare(u"124", u"123", 3) > 0); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp index 49211511b27c..2bcfe4267fc1 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/copy.pass.cpp @@ -25,5 +25,5 @@ int main() assert(s2[0] == char16_t(1)); assert(s2[1] == char16_t(2)); assert(s2[2] == char16_t(3)); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp index e8dcdca2c86f..e09facea500d 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq.pass.cpp @@ -22,5 +22,5 @@ int main() char16_t c = u'\0'; assert(std::char_traits::eq(u'a', u'a')); assert(!std::char_traits::eq(u'a', u'A')); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp index 0ad101f77159..2226f0bf45fd 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/eq_int_type.pass.cpp @@ -24,5 +24,5 @@ int main() assert(!std::char_traits::eq_int_type(std::char_traits::eof(), u'A')); assert( std::char_traits::eq_int_type(std::char_traits::eof(), std::char_traits::eof())); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/find.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/find.pass.cpp index ba421ce50bd8..6b8c2929df51 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/find.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/find.pass.cpp @@ -25,5 +25,5 @@ int main() assert(std::char_traits::find(s1, 3, char16_t(3)) == s1+2); assert(std::char_traits::find(s1, 3, char16_t(4)) == 0); assert(std::char_traits::find(s1, 3, char16_t(0)) == 0); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp index 12f9dfc23574..1cb99c4f340b 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/length.pass.cpp @@ -24,5 +24,5 @@ int main() assert(std::char_traits::length(u"aa") == 2); assert(std::char_traits::length(u"aaa") == 3); assert(std::char_traits::length(u"aaaa") == 4); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp index 544c0d27eefa..7322435b1a62 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/lt.pass.cpp @@ -22,5 +22,5 @@ int main() char16_t c = u'\0'; assert(!std::char_traits::lt(u'a', u'a')); assert( std::char_traits::lt(u'A', u'a')); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp index d1eb16217724..dd9a0a0285d8 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/move.pass.cpp @@ -29,5 +29,5 @@ int main() assert(s1[0] == char16_t(2)); assert(s1[1] == char16_t(2)); assert(s1[2] == char16_t(3)); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp index b20011dcdf11..ecfbe7c4ec38 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/not_eof.pass.cpp @@ -24,5 +24,5 @@ int main() assert(std::char_traits::not_eof(0) == 0); assert(std::char_traits::not_eof(std::char_traits::eof()) != std::char_traits::eof()); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp index b7e74b0b3710..be9b61254f2e 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_char_type.pass.cpp @@ -22,5 +22,5 @@ int main() assert(std::char_traits::to_char_type(u'a') == u'a'); assert(std::char_traits::to_char_type(u'A') == u'A'); assert(std::char_traits::to_char_type(0) == 0); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp index 6fd414821aa8..c2376ac99d4f 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/to_int_type.pass.cpp @@ -22,5 +22,5 @@ int main() assert(std::char_traits::to_int_type(u'a') == u'a'); assert(std::char_traits::to_int_type(u'A') == u'A'); assert(std::char_traits::to_int_type(0) == 0); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/types.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/types.pass.cpp index 4fe3f472bd94..e1611429f5b5 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/types.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/types.pass.cpp @@ -11,11 +11,11 @@ // template<> struct char_traits -// typedef char16_t char_type; -// typedef uint_least16_t int_type; -// typedef streamoff off_type; -// typedef u16streampos pos_type; -// typedef mbstate_t state_type; +// typedef char16_t char_type; +// typedef uint_least16_t int_type; +// typedef streamoff off_type; +// typedef u16streampos pos_type; +// typedef mbstate_t state_type; #include #include @@ -29,5 +29,5 @@ int main() static_assert((std::is_same::off_type, std::streamoff>::value), ""); static_assert((std::is_same::pos_type, std::u16streampos>::value), ""); static_assert((std::is_same::state_type, std::mbstate_t>::value), ""); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp index 0c05ccbf701a..60acdd05ad66 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign2.pass.cpp @@ -22,5 +22,5 @@ int main() char32_t c = U'\0'; std::char_traits::assign(c, U'a'); assert(c == U'a'); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp index 396369e6a7e7..dbf8de32ceb0 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/assign3.pass.cpp @@ -25,5 +25,5 @@ int main() assert(s2[0] == char32_t(5)); assert(s2[1] == char32_t(5)); assert(s2[2] == char32_t(5)); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp index 3dcaa8910e00..bee5dc9b53e9 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/compare.pass.cpp @@ -38,5 +38,5 @@ int main() assert(std::char_traits::compare(U"223", U"123", 3) > 0); assert(std::char_traits::compare(U"133", U"123", 3) > 0); assert(std::char_traits::compare(U"124", U"123", 3) > 0); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp index 2ae5bdf8dda9..9f24a7b312a7 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/copy.pass.cpp @@ -25,5 +25,5 @@ int main() assert(s2[0] == char32_t(1)); assert(s2[1] == char32_t(2)); assert(s2[2] == char32_t(3)); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp index 6eb8fd7f9036..927c05242b1a 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq.pass.cpp @@ -22,5 +22,5 @@ int main() char32_t c = U'\0'; assert(std::char_traits::eq(U'a', U'a')); assert(!std::char_traits::eq(U'a', U'A')); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp index 2f1d68a87e02..4e0d34a08c8b 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/eq_int_type.pass.cpp @@ -24,5 +24,5 @@ int main() assert(!std::char_traits::eq_int_type(std::char_traits::eof(), U'A')); assert( std::char_traits::eq_int_type(std::char_traits::eof(), std::char_traits::eof())); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/find.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/find.pass.cpp index 8313be441077..2c4605cfafda 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/find.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/find.pass.cpp @@ -25,5 +25,5 @@ int main() assert(std::char_traits::find(s1, 3, char32_t(3)) == s1+2); assert(std::char_traits::find(s1, 3, char32_t(4)) == 0); assert(std::char_traits::find(s1, 3, char32_t(0)) == 0); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp index fd1f0c22bab1..ab27a567974a 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/length.pass.cpp @@ -24,5 +24,5 @@ int main() assert(std::char_traits::length(U"aa") == 2); assert(std::char_traits::length(U"aaa") == 3); assert(std::char_traits::length(U"aaaa") == 4); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp index c26070944a77..32af79ea0e72 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/lt.pass.cpp @@ -22,5 +22,5 @@ int main() char32_t c = U'\0'; assert(!std::char_traits::lt(U'a', U'a')); assert( std::char_traits::lt(U'A', U'a')); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp index ea1a600339d2..a497e08f7cc0 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/move.pass.cpp @@ -29,5 +29,5 @@ int main() assert(s1[0] == char32_t(2)); assert(s1[1] == char32_t(2)); assert(s1[2] == char32_t(3)); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp index ce2ff2045673..37eb484a206e 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/not_eof.pass.cpp @@ -24,5 +24,5 @@ int main() assert(std::char_traits::not_eof(0) == 0); assert(std::char_traits::not_eof(std::char_traits::eof()) != std::char_traits::eof()); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp index 96063e2411bc..10eeeb60a426 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_char_type.pass.cpp @@ -22,5 +22,5 @@ int main() assert(std::char_traits::to_char_type(U'a') == U'a'); assert(std::char_traits::to_char_type(U'A') == U'A'); assert(std::char_traits::to_char_type(0) == 0); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp index abccb7d2b346..be54bad55456 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/to_int_type.pass.cpp @@ -22,5 +22,5 @@ int main() assert(std::char_traits::to_int_type(U'a') == U'a'); assert(std::char_traits::to_int_type(U'A') == U'A'); assert(std::char_traits::to_int_type(0) == 0); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/types.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/types.pass.cpp index 695336c65292..7d63304606f2 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/types.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/types.pass.cpp @@ -11,11 +11,11 @@ // template<> struct char_traits -// typedef char32_t char_type; -// typedef uint_least32_t int_type; -// typedef streamoff off_type; -// typedef u32streampos pos_type; -// typedef mbstate_t state_type; +// typedef char32_t char_type; +// typedef uint_least32_t int_type; +// typedef streamoff off_type; +// typedef u32streampos pos_type; +// typedef mbstate_t state_type; #include #include @@ -29,5 +29,5 @@ int main() static_assert((std::is_same::off_type, std::streamoff>::value), ""); static_assert((std::is_same::pos_type, std::u32streampos>::value), ""); static_assert((std::is_same::state_type, std::mbstate_t>::value), ""); -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS } diff --git a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/types.pass.cpp b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/types.pass.cpp index 810d377902dd..a1b54e15525c 100644 --- a/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/types.pass.cpp +++ b/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/types.pass.cpp @@ -11,11 +11,11 @@ // template<> struct char_traits -// typedef wchar_t char_type; -// typedef int int_type; -// typedef streamoff off_type; -// typedef streampos pos_type; -// typedef mbstate_t state_type; +// typedef wchar_t char_type; +// typedef int int_type; +// typedef streamoff off_type; +// typedef streampos pos_type; +// typedef mbstate_t state_type; #include #include diff --git a/libcxx/test/strings/string.classes/typedefs.pass.cpp b/libcxx/test/strings/string.classes/typedefs.pass.cpp index 5bc8fed5e3d1..c92daba05a94 100644 --- a/libcxx/test/strings/string.classes/typedefs.pass.cpp +++ b/libcxx/test/strings/string.classes/typedefs.pass.cpp @@ -11,10 +11,10 @@ // Test for the existence of: -// basic_string typedef names -// typedef basic_string string; -// typedef basic_string u16string; -// typedef basic_string u32string; +// basic_string typedef names +// typedef basic_string string; +// typedef basic_string u16string; +// typedef basic_string u32string; // typedef basic_string wstring; #include @@ -26,5 +26,5 @@ int main() #ifndef _LIBCPP_HAS_NO_UNICODE_CHARS typedef std::u16string test3; typedef std::u32string test4; -#endif +#endif // _LIBCPP_HAS_NO_UNICODE_CHARS }