From d72ece646278654175103de0509a7db422b94327 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Wed, 23 Nov 2016 22:03:28 +0000 Subject: [PATCH] [libcxx] [test] D27027: Strip trailing whitespace. llvm-svn: 287829 --- .../std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp | 4 ++-- .../test/std/algorithms/alg.sorting/alg.clamp/clamp.pass.cpp | 4 ++-- .../test/std/atomics/atomics.types.generic/integral.pass.cpp | 2 +- .../map/map.cons/compare_copy_constructible.fail.cpp | 2 +- .../containers/associative/map/map.cons/copy_assign.pass.cpp | 12 ++++++------ .../multimap.cons/compare_copy_constructible.fail.cpp | 2 +- .../multiset.cons/compare_copy_constructible.fail.cpp | 2 +- .../set/set.cons/compare_copy_constructible.fail.cpp | 2 +- .../containers/sequences/vector/vector.data/data.pass.cpp | 2 +- .../sequences/vector/vector.data/data_const.pass.cpp | 2 +- .../unord.map.cnstr/compare_copy_constructible.fail.cpp | 2 +- .../unord.map.cnstr/hash_copy_constructible.fail.cpp | 2 +- .../unord.multimap.cnstr/compare_copy_constructible.fail.cpp | 2 +- .../unord.multimap.cnstr/hash_copy_constructible.fail.cpp | 2 +- .../unord.multiset.cnstr/compare_copy_constructible.fail.cpp | 2 +- .../unord.multiset.cnstr/hash_copy_constructible.fail.cpp | 2 +- .../unord.set.cnstr/compare_copy_constructible.fail.cpp | 2 +- .../unord.set.cnstr/hash_copy_constructible.fail.cpp | 2 +- .../test/std/diagnostics/syserr/is_error_code_enum.pass.cpp | 2 +- .../std/diagnostics/syserr/is_error_condition_enum.pass.cpp | 4 ++-- .../numeric.ops/numeric.ops.gcd/gcd.not_integral1.fail.cpp | 2 +- .../numeric.ops/numeric.ops.gcd/gcd.not_integral2.fail.cpp | 2 +- .../numeric/numeric.ops/numeric.ops.gcd/gcd.pass.cpp | 2 +- .../numeric.ops/numeric.ops.lcm/lcm.not_integral2.fail.cpp | 2 +- .../numeric/numeric.ops/numeric.ops.lcm/lcm.pass.cpp | 2 +- libcxx/test/std/iterators/iterator.range/begin-end.fail.cpp | 4 ++-- .../reverse.iter.ops/reverse.iter.op==/test.pass.cpp | 2 +- .../numerics/numeric.ops/numeric.ops.gcd/gcd.bool1.fail.cpp | 4 ++-- .../numerics/numeric.ops/numeric.ops.gcd/gcd.bool2.fail.cpp | 4 ++-- .../numerics/numeric.ops/numeric.ops.gcd/gcd.bool3.fail.cpp | 4 ++-- .../numerics/numeric.ops/numeric.ops.gcd/gcd.bool4.fail.cpp | 4 ++-- .../numeric.ops/numeric.ops.gcd/gcd.not_integral1.fail.cpp | 4 ++-- .../numeric.ops/numeric.ops.gcd/gcd.not_integral2.fail.cpp | 4 ++-- .../std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp | 2 +- .../numerics/numeric.ops/numeric.ops.lcm/lcm.bool1.fail.cpp | 4 ++-- .../numerics/numeric.ops/numeric.ops.lcm/lcm.bool2.fail.cpp | 4 ++-- .../numerics/numeric.ops/numeric.ops.lcm/lcm.bool3.fail.cpp | 4 ++-- .../numerics/numeric.ops/numeric.ops.lcm/lcm.bool4.fail.cpp | 4 ++-- .../numeric.ops/numeric.ops.lcm/lcm.not_integral1.fail.cpp | 2 +- .../numeric.ops/numeric.ops.lcm/lcm.not_integral2.fail.cpp | 4 ++-- .../std/numerics/numeric.ops/numeric.ops.lcm/lcm.pass.cpp | 2 +- .../strings/basic.string/string.cons/T_size_size.pass.cpp | 2 +- .../string.modifiers/string_append/iterator.pass.cpp | 4 ++-- .../string.modifiers/string_append/pointer.pass.cpp | 4 ++-- .../string.modifiers/string_append/pointer_size.pass.cpp | 4 ++-- .../string.modifiers/string_assign/iterator.pass.cpp | 4 ++-- .../string.modifiers/string_assign/pointer.pass.cpp | 4 ++-- .../string.modifiers/string_assign/pointer_size.pass.cpp | 4 ++-- .../string.modifiers/string_insert/iter_iter_iter.pass.cpp | 4 ++-- .../string.modifiers/string_insert/size_T_size_size.pass.cpp | 2 +- .../string.modifiers/string_insert/size_pointer.pass.cpp | 4 ++-- .../string_insert/size_pointer_size.pass.cpp | 4 ++-- .../string_replace/iter_iter_iter_iter.pass.cpp | 4 ++-- .../string_replace/iter_iter_pointer.pass.cpp | 4 ++-- .../string_replace/iter_iter_pointer_size.pass.cpp | 4 ++-- .../string_replace/size_size_T_size_size.pass.cpp | 2 +- .../string_operator==/string_string_view.pass.cpp | 2 +- .../meta.trans/meta.trans.other/underlying_type.pass.cpp | 4 ++-- 58 files changed, 91 insertions(+), 91 deletions(-) diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp index 3fec12b..50bcff9 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.clamp/clamp.comp.pass.cpp @@ -22,11 +22,11 @@ struct Tag { Tag() : val(0), tag("Default") {} Tag(int a, const char *b) : val(a), tag(b) {} ~Tag() {} - + int val; const char *tag; }; - + bool eq(const Tag& rhs, const Tag& lhs) { return rhs.val == lhs.val && rhs.tag == lhs.tag; } // bool operator==(const Tag& rhs, const Tag& lhs) { return rhs.val == lhs.val; } bool comp (const Tag& rhs, const Tag& lhs) { return rhs.val < lhs.val; } diff --git a/libcxx/test/std/algorithms/alg.sorting/alg.clamp/clamp.pass.cpp b/libcxx/test/std/algorithms/alg.sorting/alg.clamp/clamp.pass.cpp index 779c418..1e18720 100644 --- a/libcxx/test/std/algorithms/alg.sorting/alg.clamp/clamp.pass.cpp +++ b/libcxx/test/std/algorithms/alg.sorting/alg.clamp/clamp.pass.cpp @@ -21,11 +21,11 @@ struct Tag { Tag() : val(0), tag("Default") {} Tag(int a, const char *b) : val(a), tag(b) {} ~Tag() {} - + int val; const char *tag; }; - + bool eq(const Tag& rhs, const Tag& lhs) { return rhs.val == lhs.val && rhs.tag == lhs.tag; } // bool operator==(const Tag& rhs, const Tag& lhs) { return rhs.val == lhs.val; } bool operator< (const Tag& rhs, const Tag& lhs) { return rhs.val < lhs.val; } diff --git a/libcxx/test/std/atomics/atomics.types.generic/integral.pass.cpp b/libcxx/test/std/atomics/atomics.types.generic/integral.pass.cpp index 8cb76ba..63cc02b 100644 --- a/libcxx/test/std/atomics/atomics.types.generic/integral.pass.cpp +++ b/libcxx/test/std/atomics/atomics.types.generic/integral.pass.cpp @@ -195,7 +195,7 @@ int main() test(); test(); test(); - + test(); test(); test(); diff --git a/libcxx/test/std/containers/associative/map/map.cons/compare_copy_constructible.fail.cpp b/libcxx/test/std/containers/associative/map/map.cons/compare_copy_constructible.fail.cpp index 81ccba3..210c270 100644 --- a/libcxx/test/std/containers/associative/map/map.cons/compare_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/associative/map/map.cons/compare_copy_constructible.fail.cpp @@ -9,7 +9,7 @@ // -// Check that std::map fails to instantiate if the comparison predicate is +// Check that std::map fails to instantiate if the comparison predicate is // not copy-constructible. This is LWG issue 2436 #include diff --git a/libcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp b/libcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp index 2d1cb3a..0a4f70e 100644 --- a/libcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp +++ b/libcxx/test/std/containers/associative/map/map.cons/copy_assign.pass.cpp @@ -36,7 +36,7 @@ public: int foo{0}; counting_allocatorT(int f) noexcept : foo(f) {} - using propagate_on_container_copy_assignment = std::true_type; + using propagate_on_container_copy_assignment = std::true_type; template counting_allocatorT(const counting_allocatorT& other) noexcept {foo = other.foo;} template bool operator==(const counting_allocatorT& other) const noexcept { return foo == other.foo; } template bool operator!=(const counting_allocatorT& other) const noexcept { return foo != other.foo; } @@ -59,7 +59,7 @@ public: int foo{0}; counting_allocatorF(int f) noexcept : foo(f) {} - using propagate_on_container_copy_assignment = std::false_type; + using propagate_on_container_copy_assignment = std::false_type; template counting_allocatorF(const counting_allocatorF& other) noexcept {foo = other.foo;} template bool operator==(const counting_allocatorF& other) const noexcept { return foo == other.foo; } template bool operator!=(const counting_allocatorF& other) const noexcept { return foo != other.foo; } @@ -77,7 +77,7 @@ public: bool balanced_allocs() { std::vector temp1, temp2; - + std::cout << "Allocations = " << ca_allocs.size() << ", deallocatons = " << ca_deallocs.size() << std::endl; if (ca_allocs.size() != ca_deallocs.size()) return false; @@ -87,13 +87,13 @@ bool balanced_allocs() { temp2.clear(); std::unique_copy(temp1.begin(), temp1.end(), std::back_inserter>(temp2)); std::cout << "There were " << temp2.size() << " different allocators\n"; - + for (std::vector::const_iterator it = temp2.begin(); it != temp2.end(); ++it ) { std::cout << *it << ": " << std::count(ca_allocs.begin(), ca_allocs.end(), *it) << " vs " << std::count(ca_deallocs.begin(), ca_deallocs.end(), *it) << std::endl; if ( std::count(ca_allocs.begin(), ca_allocs.end(), *it) != std::count(ca_deallocs.begin(), ca_deallocs.end(), *it)) return false; } - + temp1 = ca_allocs; std::sort(temp1.begin(), temp1.end()); temp2.clear(); @@ -104,7 +104,7 @@ bool balanced_allocs() { if ( std::count(ca_allocs.begin(), ca_allocs.end(), *it) != std::count(ca_deallocs.begin(), ca_deallocs.end(), *it)) return false; } - + return true; } #endif diff --git a/libcxx/test/std/containers/associative/multimap/multimap.cons/compare_copy_constructible.fail.cpp b/libcxx/test/std/containers/associative/multimap/multimap.cons/compare_copy_constructible.fail.cpp index e6f6c3e..3d33f721 100644 --- a/libcxx/test/std/containers/associative/multimap/multimap.cons/compare_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/associative/multimap/multimap.cons/compare_copy_constructible.fail.cpp @@ -9,7 +9,7 @@ // -// Check that std::multimap fails to instantiate if the comparison predicate is +// Check that std::multimap fails to instantiate if the comparison predicate is // not copy-constructible. This is LWG issue 2436 #include diff --git a/libcxx/test/std/containers/associative/multiset/multiset.cons/compare_copy_constructible.fail.cpp b/libcxx/test/std/containers/associative/multiset/multiset.cons/compare_copy_constructible.fail.cpp index 2eade52..9287a03 100644 --- a/libcxx/test/std/containers/associative/multiset/multiset.cons/compare_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/associative/multiset/multiset.cons/compare_copy_constructible.fail.cpp @@ -9,7 +9,7 @@ // -// Check that std::multiset fails to instantiate if the comparison predicate is +// Check that std::multiset fails to instantiate if the comparison predicate is // not copy-constructible. This is LWG issue 2436 #include diff --git a/libcxx/test/std/containers/associative/set/set.cons/compare_copy_constructible.fail.cpp b/libcxx/test/std/containers/associative/set/set.cons/compare_copy_constructible.fail.cpp index dcf23ef..858ee41 100644 --- a/libcxx/test/std/containers/associative/set/set.cons/compare_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/associative/set/set.cons/compare_copy_constructible.fail.cpp @@ -9,7 +9,7 @@ // -// Check that std::set fails to instantiate if the comparison predicate is +// Check that std::set fails to instantiate if the comparison predicate is // not copy-constructible. This is LWG issue 2436 #include diff --git a/libcxx/test/std/containers/sequences/vector/vector.data/data.pass.cpp b/libcxx/test/std/containers/sequences/vector/vector.data/data.pass.cpp index f6c0575..b7ea3a28 100644 --- a/libcxx/test/std/containers/sequences/vector/vector.data/data.pass.cpp +++ b/libcxx/test/std/containers/sequences/vector/vector.data/data.pass.cpp @@ -21,7 +21,7 @@ struct Nasty { Nasty() : i_(0) {} Nasty(int i) : i_(i) {} ~Nasty() {} - + Nasty * operator&() const { assert(false); return nullptr; } int i_; }; diff --git a/libcxx/test/std/containers/sequences/vector/vector.data/data_const.pass.cpp b/libcxx/test/std/containers/sequences/vector/vector.data/data_const.pass.cpp index c97ad29..3c013c1 100644 --- a/libcxx/test/std/containers/sequences/vector/vector.data/data_const.pass.cpp +++ b/libcxx/test/std/containers/sequences/vector/vector.data/data_const.pass.cpp @@ -21,7 +21,7 @@ struct Nasty { Nasty() : i_(0) {} Nasty(int i) : i_(i) {} ~Nasty() {} - + Nasty * operator&() const { assert(false); return nullptr; } int i_; }; diff --git a/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp b/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp index 417120b..7f62a4f 100644 --- a/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/compare_copy_constructible.fail.cpp @@ -12,7 +12,7 @@ // -// Check that std::unordered_map fails to instantiate if the comparison predicate is +// Check that std::unordered_map fails to instantiate if the comparison predicate is // not copy-constructible. This is LWG issue 2436 #include diff --git a/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp b/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp index 709b56d..2525c44 100644 --- a/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/hash_copy_constructible.fail.cpp @@ -12,7 +12,7 @@ // -// Check that std::unordered_map fails to instantiate if the hash function is +// Check that std::unordered_map fails to instantiate if the hash function is // not copy-constructible. This is mentioned in LWG issue 2436 #include diff --git a/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp b/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp index d3e3148..1c46e7a 100644 --- a/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/compare_copy_constructible.fail.cpp @@ -12,7 +12,7 @@ // -// Check that std::unordered_multimap fails to instantiate if the comparison predicate is +// Check that std::unordered_multimap fails to instantiate if the comparison predicate is // not copy-constructible. This is LWG issue 2436 #include diff --git a/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp b/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp index 4214f69..71e1c9f 100644 --- a/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/hash_copy_constructible.fail.cpp @@ -12,7 +12,7 @@ // -// Check that std::unordered_multimap fails to instantiate if the hash function is +// Check that std::unordered_multimap fails to instantiate if the hash function is // not copy-constructible. This is mentioned in LWG issue 2436 #include diff --git a/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/compare_copy_constructible.fail.cpp b/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/compare_copy_constructible.fail.cpp index b38316c..1cda95b 100644 --- a/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/compare_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/compare_copy_constructible.fail.cpp @@ -9,7 +9,7 @@ // -// Check that std::unordered_set fails to instantiate if the comparison predicate is +// Check that std::unordered_set fails to instantiate if the comparison predicate is // not copy-constructible. This is LWG issue 2436 #include diff --git a/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/hash_copy_constructible.fail.cpp b/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/hash_copy_constructible.fail.cpp index a43f94c..6fa52a7 100644 --- a/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/hash_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/hash_copy_constructible.fail.cpp @@ -9,7 +9,7 @@ // -// Check that std::unordered_multiset fails to instantiate if the hash function is +// Check that std::unordered_multiset fails to instantiate if the hash function is // not copy-constructible. This is mentioned in LWG issue 2436 #include diff --git a/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/compare_copy_constructible.fail.cpp b/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/compare_copy_constructible.fail.cpp index 6b675f0..7978255 100644 --- a/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/compare_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/compare_copy_constructible.fail.cpp @@ -9,7 +9,7 @@ // -// Check that std::unordered_set fails to instantiate if the comparison predicate is +// Check that std::unordered_set fails to instantiate if the comparison predicate is // not copy-constructible. This is LWG issue 2436 #include diff --git a/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/hash_copy_constructible.fail.cpp b/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/hash_copy_constructible.fail.cpp index 066f160..9e135e2 100644 --- a/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/hash_copy_constructible.fail.cpp +++ b/libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/hash_copy_constructible.fail.cpp @@ -9,7 +9,7 @@ // -// Check that std::unordered_set fails to instantiate if the hash function is +// Check that std::unordered_set fails to instantiate if the hash function is // not copy-constructible. This is mentioned in LWG issue 2436 #include diff --git a/libcxx/test/std/diagnostics/syserr/is_error_code_enum.pass.cpp b/libcxx/test/std/diagnostics/syserr/is_error_code_enum.pass.cpp index 14f1af5..bd84362 100644 --- a/libcxx/test/std/diagnostics/syserr/is_error_code_enum.pass.cpp +++ b/libcxx/test/std/diagnostics/syserr/is_error_code_enum.pass.cpp @@ -39,7 +39,7 @@ namespace std struct is_error_code_enum : public std::true_type {}; } - + int main() { test(); diff --git a/libcxx/test/std/diagnostics/syserr/is_error_condition_enum.pass.cpp b/libcxx/test/std/diagnostics/syserr/is_error_condition_enum.pass.cpp index 0114cbd..b2efd9e 100644 --- a/libcxx/test/std/diagnostics/syserr/is_error_condition_enum.pass.cpp +++ b/libcxx/test/std/diagnostics/syserr/is_error_condition_enum.pass.cpp @@ -39,13 +39,13 @@ namespace std struct is_error_condition_enum : public std::true_type {}; } - + int main() { test(); test(); test(); test(); - + test(); } diff --git a/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.not_integral1.fail.cpp b/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.not_integral1.fail.cpp index 2e26b56..8b06983 100644 --- a/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.not_integral1.fail.cpp +++ b/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.not_integral1.fail.cpp @@ -6,7 +6,7 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11 // diff --git a/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.not_integral2.fail.cpp b/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.not_integral2.fail.cpp index f0f0c15..ca9b871 100644 --- a/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.not_integral2.fail.cpp +++ b/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.not_integral2.fail.cpp @@ -6,7 +6,7 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11 // diff --git a/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.pass.cpp b/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.pass.cpp index 754ee28..f0e0cc5 100644 --- a/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.pass.cpp +++ b/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/gcd.pass.cpp @@ -6,7 +6,7 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11 // diff --git a/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.lcm/lcm.not_integral2.fail.cpp b/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.lcm/lcm.not_integral2.fail.cpp index 25bcd51..d573187 100644 --- a/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.lcm/lcm.not_integral2.fail.cpp +++ b/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.lcm/lcm.not_integral2.fail.cpp @@ -6,7 +6,7 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11 // diff --git a/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.lcm/lcm.pass.cpp b/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.lcm/lcm.pass.cpp index 2193892..b1aa734 100644 --- a/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.lcm/lcm.pass.cpp +++ b/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.lcm/lcm.pass.cpp @@ -6,7 +6,7 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11 // diff --git a/libcxx/test/std/iterators/iterator.range/begin-end.fail.cpp b/libcxx/test/std/iterators/iterator.range/begin-end.fail.cpp index 1a14930..94a3d8c 100644 --- a/libcxx/test/std/iterators/iterator.range/begin-end.fail.cpp +++ b/libcxx/test/std/iterators/iterator.range/begin-end.fail.cpp @@ -39,13 +39,13 @@ namespace Foo { FakeIter crbegin(const FakeContainer &) { return 13; } FakeIter crend (const FakeContainer &) { return 14; } } - + int main(){ // Bug #28927 - shouldn't find these via ADL (void) std::cbegin (Foo::FakeContainer()); (void) std::cend (Foo::FakeContainer()); (void) std::crbegin(Foo::FakeContainer()); - (void) std::crend (Foo::FakeContainer()); + (void) std::crend (Foo::FakeContainer()); } #endif diff --git a/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op==/test.pass.cpp b/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op==/test.pass.cpp index ac9add5..70c9e19 100644 --- a/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op==/test.pass.cpp +++ b/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.op==/test.pass.cpp @@ -42,7 +42,7 @@ int main() test(random_access_iterator(s), random_access_iterator(s+1), false); test(s, s, true); test(s, s+1, false); - + #if TEST_STD_VER > 14 { constexpr const char *p = "123456789"; diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool1.fail.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool1.fail.cpp index cc821e1..7a8a608 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool1.fail.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool1.fail.cpp @@ -6,14 +6,14 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // template // constexpr common_type_t<_M,_N> gcd(_M __m, _N __n) -// Remarks: If either M or N is not an integer type, +// Remarks: If either M or N is not an integer type, // or if either is (a possibly cv-qualified) bool, the program is ill-formed. #include diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool2.fail.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool2.fail.cpp index 1e5ee25..909d7cb 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool2.fail.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool2.fail.cpp @@ -6,14 +6,14 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // template // constexpr common_type_t<_M,_N> gcd(_M __m, _N __n) -// Remarks: If either M or N is not an integer type, +// Remarks: If either M or N is not an integer type, // or if either is (a possibly cv-qualified) bool, the program is ill-formed. #include diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool3.fail.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool3.fail.cpp index 76d1030..75a1bc1 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool3.fail.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool3.fail.cpp @@ -6,14 +6,14 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // template // constexpr common_type_t<_M,_N> gcd(_M __m, _N __n) -// Remarks: If either M or N is not an integer type, +// Remarks: If either M or N is not an integer type, // or if either is (a possibly cv-qualified) bool, the program is ill-formed. #include diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool4.fail.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool4.fail.cpp index 2c685c9..406b498 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool4.fail.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.bool4.fail.cpp @@ -6,14 +6,14 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // template // constexpr common_type_t<_M,_N> gcd(_M __m, _N __n) -// Remarks: If either M or N is not an integer type, +// Remarks: If either M or N is not an integer type, // or if either is (a possibly cv-qualified) bool, the program is ill-formed. #include diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.not_integral1.fail.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.not_integral1.fail.cpp index 0707eca..9354a4e 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.not_integral1.fail.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.not_integral1.fail.cpp @@ -6,14 +6,14 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // template // constexpr common_type_t<_M,_N> gcd(_M __m, _N __n) -// Remarks: If either M or N is not an integer type, +// Remarks: If either M or N is not an integer type, // or if either is (a possibly cv-qualified) bool, the program is ill-formed. #include diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.not_integral2.fail.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.not_integral2.fail.cpp index 113dd3d..fa1b7da 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.not_integral2.fail.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.not_integral2.fail.cpp @@ -6,14 +6,14 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // template // constexpr common_type_t<_M,_N> gcd(_M __m, _N __n) -// Remarks: If either M or N is not an integer type, +// Remarks: If either M or N is not an integer type, // or if either is (a possibly cv-qualified) bool, the program is ill-formed. #include diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp index 84625cd..cde9db4 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp @@ -6,7 +6,7 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool1.fail.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool1.fail.cpp index 79c5f62..1492c25 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool1.fail.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool1.fail.cpp @@ -6,14 +6,14 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // template // constexpr common_type_t<_M,_N> lcm(_M __m, _N __n) -// Remarks: If either M or N is not an integer type, +// Remarks: If either M or N is not an integer type, // or if either is (a possibly cv-qualified) bool, the program is ill-formed. #include diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool2.fail.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool2.fail.cpp index c34efea..de891f3 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool2.fail.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool2.fail.cpp @@ -6,14 +6,14 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // template // constexpr common_type_t<_M,_N> lcm(_M __m, _N __n) -// Remarks: If either M or N is not an integer type, +// Remarks: If either M or N is not an integer type, // or if either is (a possibly cv-qualified) bool, the program is ill-formed. #include diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool3.fail.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool3.fail.cpp index 8cb38eb..d2a7f52 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool3.fail.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool3.fail.cpp @@ -6,14 +6,14 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // template // constexpr common_type_t<_M,_N> lcm(_M __m, _N __n) -// Remarks: If either M or N is not an integer type, +// Remarks: If either M or N is not an integer type, // or if either is (a possibly cv-qualified) bool, the program is ill-formed. #include diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool4.fail.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool4.fail.cpp index 464eb03..88ca68b 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool4.fail.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.bool4.fail.cpp @@ -6,14 +6,14 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // template // constexpr common_type_t<_M,_N> lcm(_M __m, _N __n) -// Remarks: If either M or N is not an integer type, +// Remarks: If either M or N is not an integer type, // or if either is (a possibly cv-qualified) bool, the program is ill-formed. #include diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.not_integral1.fail.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.not_integral1.fail.cpp index ce6bcf8..082631d 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.not_integral1.fail.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.not_integral1.fail.cpp @@ -13,7 +13,7 @@ // template // constexpr common_type_t<_M,_N> lcm(_M __m, _N __n) -// Remarks: If either M or N is not an integer type, +// Remarks: If either M or N is not an integer type, // or if either is (a possibly cv-qualified) bool, the program is ill-formed. #include diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.not_integral2.fail.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.not_integral2.fail.cpp index a910098..8ab68a4 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.not_integral2.fail.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.not_integral2.fail.cpp @@ -6,14 +6,14 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // // template // constexpr common_type_t<_M,_N> lcm(_M __m, _N __n) -// Remarks: If either M or N is not an integer type, +// Remarks: If either M or N is not an integer type, // or if either is (a possibly cv-qualified) bool, the program is ill-formed. #include diff --git a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.pass.cpp b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.pass.cpp index 2375a34..3eb7b7d 100644 --- a/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.pass.cpp +++ b/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/lcm.pass.cpp @@ -6,7 +6,7 @@ // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -// +// // UNSUPPORTED: c++98, c++03, c++11, c++14 // diff --git a/libcxx/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp index 0b75a6c..312e4d2 100644 --- a/libcxx/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.cons/T_size_size.pass.cpp @@ -10,7 +10,7 @@ // // template -// basic_string(const _Tp& __t, size_type __pos, size_type __n, +// basic_string(const _Tp& __t, size_type __pos, size_type __n, // const allocator_type& __a = allocator_type()); // // Mostly we're testing string_view here diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp index e834c1b..dac8860 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/iterator.pass.cpp @@ -183,14 +183,14 @@ int main() typedef std::string S; S s_short = "123/"; S s_long = "Lorem ipsum dolor sit amet, consectetur/"; - + s_short.append(s_short.begin(), s_short.end()); assert(s_short == "123/123/"); s_short.append(s_short.begin(), s_short.end()); assert(s_short == "123/123/123/123/"); s_short.append(s_short.begin(), s_short.end()); assert(s_short == "123/123/123/123/123/123/123/123/"); - + s_long.append(s_long.begin(), s_long.end()); assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/"); } diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer.pass.cpp index e658d0f..eb552ca 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer.pass.cpp @@ -66,14 +66,14 @@ int main() typedef std::string S; S s_short = "123/"; S s_long = "Lorem ipsum dolor sit amet, consectetur/"; - + s_short.append(s_short.c_str()); assert(s_short == "123/123/"); s_short.append(s_short.c_str()); assert(s_short == "123/123/123/123/"); s_short.append(s_short.c_str()); assert(s_short == "123/123/123/123/123/123/123/123/"); - + s_long.append(s_long.c_str()); assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/"); } diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp index 25a4526..fc80d7c 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_append/pointer_size.pass.cpp @@ -75,14 +75,14 @@ int main() typedef std::string S; S s_short = "123/"; S s_long = "Lorem ipsum dolor sit amet, consectetur/"; - + s_short.append(s_short.data(), s_short.size()); assert(s_short == "123/123/"); s_short.append(s_short.data(), s_short.size()); assert(s_short == "123/123/123/123/"); s_short.append(s_short.data(), s_short.size()); assert(s_short == "123/123/123/123/123/123/123/123/"); - + s_long.append(s_long.data(), s_long.size()); assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/"); } diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp index 20e242d..e5312e6 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/iterator.pass.cpp @@ -184,12 +184,12 @@ int main() typedef std::string S; S s_short = "123/"; S s_long = "Lorem ipsum dolor sit amet, consectetur/"; - + s_short.assign(s_short.begin(), s_short.end()); assert(s_short == "123/"); s_short.assign(s_short.begin() + 2, s_short.end()); assert(s_short == "3/"); - + s_long.assign(s_long.begin(), s_long.end()); assert(s_long == "Lorem ipsum dolor sit amet, consectetur/"); diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/pointer.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/pointer.pass.cpp index 1a509e7..b0876b3 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/pointer.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/pointer.pass.cpp @@ -66,12 +66,12 @@ int main() typedef std::string S; S s_short = "123/"; S s_long = "Lorem ipsum dolor sit amet, consectetur/"; - + s_short.assign(s_short.c_str()); assert(s_short == "123/"); s_short.assign(s_short.c_str() + 2); assert(s_short == "3/"); - + s_long.assign(s_long.c_str() + 30); assert(s_long == "nsectetur/"); } diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp index b657127..97a9990 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/pointer_size.pass.cpp @@ -74,12 +74,12 @@ int main() typedef std::string S; S s_short = "123/"; S s_long = "Lorem ipsum dolor sit amet, consectetur/"; - + s_short.assign(s_short.data(), s_short.size()); assert(s_short == "123/"); s_short.assign(s_short.data() + 2, s_short.size() - 2); assert(s_short == "3/"); - + s_long.assign(s_long.data(), s_long.size()); assert(s_long == "Lorem ipsum dolor sit amet, consectetur/"); diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp index 9803d5a..e5ce8e5 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/iter_iter_iter.pass.cpp @@ -174,14 +174,14 @@ int main() typedef std::string S; S s_short = "123/"; S s_long = "Lorem ipsum dolor sit amet, consectetur/"; - + s_short.insert(s_short.begin(), s_short.begin(), s_short.end()); assert(s_short == "123/123/"); s_short.insert(s_short.begin(), s_short.begin(), s_short.end()); assert(s_short == "123/123/123/123/"); s_short.insert(s_short.begin(), s_short.begin(), s_short.end()); assert(s_short == "123/123/123/123/123/123/123/123/"); - + s_long.insert(s_long.begin(), s_long.begin(), s_long.end()); assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/"); } diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/size_T_size_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/size_T_size_size.pass.cpp index 9a25bc9..e9476f4 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/size_T_size_size.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/size_T_size_size.pass.cpp @@ -1822,7 +1822,7 @@ int main() s.insert(0, sv, 0); // calls insert(T, pos, npos) assert(s == sv); s.clear(); - + s.insert(0, sv, 0, std::string::npos); // calls insert(T, pos, npos) assert(s == sv); s.clear(); diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp index e734ffa..e49f57a 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer.pass.cpp @@ -223,14 +223,14 @@ int main() typedef std::string S; S s_short = "123/"; S s_long = "Lorem ipsum dolor sit amet, consectetur/"; - + s_short.insert(0, s_short.c_str()); assert(s_short == "123/123/"); s_short.insert(0, s_short.c_str()); assert(s_short == "123/123/123/123/"); s_short.insert(0, s_short.c_str()); assert(s_short == "123/123/123/123/123/123/123/123/"); - + s_long.insert(0, s_long.c_str()); assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/"); } diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp index b599843..a42a60d 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/size_pointer_size.pass.cpp @@ -704,14 +704,14 @@ int main() typedef std::string S; S s_short = "123/"; S s_long = "Lorem ipsum dolor sit amet, consectetur/"; - + s_short.insert(0, s_short.data(), s_short.size()); assert(s_short == "123/123/"); s_short.insert(0, s_short.data(), s_short.size()); assert(s_short == "123/123/123/123/"); s_short.insert(0, s_short.data(), s_short.size()); assert(s_short == "123/123/123/123/123/123/123/123/"); - + s_long.insert(0, s_long.data(), s_long.size()); assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/"); } diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp index 1231af8..e456d39 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_iter_iter.pass.cpp @@ -1012,14 +1012,14 @@ int main() typedef std::string S; S s_short = "123/"; S s_long = "Lorem ipsum dolor sit amet, consectetur/"; - + s_short.replace(s_short.begin(), s_short.begin(), s_short.begin(), s_short.end()); assert(s_short == "123/123/"); s_short.replace(s_short.begin(), s_short.begin(), s_short.begin(), s_short.end()); assert(s_short == "123/123/123/123/"); s_short.replace(s_short.begin(), s_short.begin(), s_short.begin(), s_short.end()); assert(s_short == "123/123/123/123/123/123/123/123/"); - + s_long.replace(s_long.begin(), s_long.begin(), s_long.begin(), s_long.end()); assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/"); } diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer.pass.cpp index 20d185f..f642d3a 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer.pass.cpp @@ -287,14 +287,14 @@ int main() typedef std::string S; S s_short = "123/"; S s_long = "Lorem ipsum dolor sit amet, consectetur/"; - + s_short.replace(s_short.begin(), s_short.begin(), s_short.c_str()); assert(s_short == "123/123/"); s_short.replace(s_short.begin(), s_short.begin(), s_short.c_str()); assert(s_short == "123/123/123/123/"); s_short.replace(s_short.begin(), s_short.begin(), s_short.c_str()); assert(s_short == "123/123/123/123/123/123/123/123/"); - + s_long.replace(s_long.begin(), s_long.begin(), s_long.c_str()); assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/"); } diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer_size.pass.cpp index 59d34fe..6950368 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer_size.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/iter_iter_pointer_size.pass.cpp @@ -977,14 +977,14 @@ int main() typedef std::string S; S s_short = "123/"; S s_long = "Lorem ipsum dolor sit amet, consectetur/"; - + s_short.replace(s_short.begin(), s_short.begin(), s_short.data(), s_short.size()); assert(s_short == "123/123/"); s_short.replace(s_short.begin(), s_short.begin(), s_short.data(), s_short.size()); assert(s_short == "123/123/123/123/"); s_short.replace(s_short.begin(), s_short.begin(), s_short.data(), s_short.size()); assert(s_short == "123/123/123/123/123/123/123/123/"); - + s_long.replace(s_long.begin(), s_long.begin(), s_long.data(), s_long.size()); assert(s_long == "Lorem ipsum dolor sit amet, consectetur/Lorem ipsum dolor sit amet, consectetur/"); } diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp index 542da0d0..840b761 100644 --- a/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp @@ -10,7 +10,7 @@ // // template -// basic_string& replace(size_type pos1, size_type n1, const T& t, +// basic_string& replace(size_type pos1, size_type n1, const T& t, // size_type pos2, size_type n=npos); // // Mostly we're testing string_view here diff --git a/libcxx/test/std/strings/basic.string/string.nonmembers/string_operator==/string_string_view.pass.cpp b/libcxx/test/std/strings/basic.string/string.nonmembers/string_operator==/string_string_view.pass.cpp index f72d1c2..dec8f6f 100644 --- a/libcxx/test/std/strings/basic.string/string.nonmembers/string_operator==/string_string_view.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.nonmembers/string_operator==/string_string_view.pass.cpp @@ -10,7 +10,7 @@ // // we get this comparison "for free" because the string implicitly converts to the string_view - + #include #include diff --git a/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp b/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp index 452b851..410e47e 100644 --- a/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp +++ b/libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/underlying_type.pass.cpp @@ -29,11 +29,11 @@ int main() static_assert((std::is_same::type, int>::value), "E has the wrong underlying type"); static_assert((std::is_same::type, ExpectUnsigned>::value), - "F has the wrong underlying type"); + "F has the wrong underlying type"); #if TEST_STD_VER > 11 static_assert((std::is_same, int>::value), ""); - static_assert((std::is_same, ExpectUnsigned>::value), ""); + static_assert((std::is_same, ExpectUnsigned>::value), ""); #endif #if TEST_STD_VER >= 11 -- 2.7.4