From 664ae8118ea09fd6aec69eb34dc93f5573fdcb99 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sun, 22 Aug 2010 00:08:10 +0000 Subject: Fixing whitespace problems llvm-svn: 111753 --- .../alg.set.operations/includes/includes.pass.cpp | 5 ++--- .../alg.set.operations/includes/includes_comp.pass.cpp | 7 +++---- .../set.difference/set_difference.pass.cpp | 10 +++++----- .../set.difference/set_difference_comp.pass.cpp | 12 ++++++------ .../set.intersection/set_intersection.pass.cpp | 10 +++++----- .../set.intersection/set_intersection_comp.pass.cpp | 12 ++++++------ .../set_symmetric_difference.pass.cpp | 10 +++++----- .../set_symmetric_difference_comp.pass.cpp | 12 ++++++------ .../alg.set.operations/set.union/set_union.pass.cpp | 10 +++++----- .../alg.set.operations/set.union/set_union_comp.pass.cpp | 10 +++++----- 10 files changed, 48 insertions(+), 50 deletions(-) (limited to 'libcxx/test/algorithms/alg.sorting/alg.set.operations') diff --git a/libcxx/test/algorithms/alg.sorting/alg.set.operations/includes/includes.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.set.operations/includes/includes.pass.cpp index 665ba51fa51..13f02213797 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.set.operations/includes/includes.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.set.operations/includes/includes.pass.cpp @@ -9,8 +9,8 @@ // -// template -// requires HasLess +// template +// requires HasLess // && HasLess // bool // includes(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2); @@ -41,7 +41,6 @@ test() assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(ib), Iter2(ib+sb))); assert(!std::includes(Iter1(ib), Iter1(ib+sb), Iter2(ia), Iter2(ia+sa))); - assert(std::includes(Iter1(ia), Iter1(ia+2), Iter2(ic), Iter2(ic+2))); assert(!std::includes(Iter1(ia), Iter1(ia+2), Iter2(ib), Iter2(ib+2))); diff --git a/libcxx/test/algorithms/alg.sorting/alg.set.operations/includes/includes_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.set.operations/includes/includes_comp.pass.cpp index ccdb04d878d..75181ab3d79 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.set.operations/includes/includes_comp.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.set.operations/includes/includes_comp.pass.cpp @@ -9,9 +9,9 @@ // -// template -// requires Predicate -// && Predicate +// template +// requires Predicate +// && Predicate // bool // includes(Iter1 first1, Iter1 last1, Iter2 first2, Iter2 last2, Compare comp); @@ -42,7 +42,6 @@ test() assert(std::includes(Iter1(ia), Iter1(ia+sa), Iter2(ib), Iter2(ib+sb), std::less())); assert(!std::includes(Iter1(ib), Iter1(ib+sb), Iter2(ia), Iter2(ia+sa), std::less())); - assert(std::includes(Iter1(ia), Iter1(ia+2), Iter2(ic), Iter2(ic+2), std::less())); assert(!std::includes(Iter1(ia), Iter1(ia+2), Iter2(ib), Iter2(ib+2), std::less())); diff --git a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.difference/set_difference.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.difference/set_difference.pass.cpp index 03628b22135..ef4473c0d63 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.difference/set_difference.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.difference/set_difference.pass.cpp @@ -9,11 +9,11 @@ // -// template -// requires OutputIterator -// && OutputIterator -// && HasLess -// && HasLess +// template +// requires OutputIterator +// && OutputIterator +// && HasLess +// && HasLess // OutIter // set_difference(InIter1 first1, InIter1 last1, InIter2 first2, InIter2 last2, // OutIter result); diff --git a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.difference/set_difference_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.difference/set_difference_comp.pass.cpp index 65e3cd6611b..f6e8d2c6b92 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.difference/set_difference_comp.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.difference/set_difference_comp.pass.cpp @@ -9,12 +9,12 @@ // -// template -// requires OutputIterator -// && OutputIterator -// && Predicate -// && Predicate +// template +// requires OutputIterator +// && OutputIterator +// && Predicate +// && Predicate // OutIter // set_difference(InIter1 first1, InIter1 last1, InIter2 first2, InIter2 last2, // OutIter result, Compare comp); diff --git a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection.pass.cpp index e832215942f..6b3ede5ac03 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection.pass.cpp @@ -9,11 +9,11 @@ // -// template -// requires OutputIterator -// && OutputIterator -// && HasLess -// && HasLess +// template +// requires OutputIterator +// && OutputIterator +// && HasLess +// && HasLess // OutIter // set_intersection(InIter1 first1, InIter1 last1, InIter2 first2, InIter2 last2, // OutIter result); diff --git a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection_comp.pass.cpp index 64aaf19d101..6b6c391fcda 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection_comp.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.intersection/set_intersection_comp.pass.cpp @@ -9,12 +9,12 @@ // -// template -// requires OutputIterator -// && OutputIterator -// && Predicate -// && Predicate +// template +// requires OutputIterator +// && OutputIterator +// && Predicate +// && Predicate // OutIter // set_intersection(InIter1 first1, InIter1 last1, InIter2 first2, InIter2 last2, // OutIter result, Compare comp); diff --git a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/set_symmetric_difference.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/set_symmetric_difference.pass.cpp index b7e30f4eb63..d1491c368ff 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/set_symmetric_difference.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/set_symmetric_difference.pass.cpp @@ -9,11 +9,11 @@ // -// template -// requires OutputIterator -// && OutputIterator -// && HasLess -// && HasLess +// template +// requires OutputIterator +// && OutputIterator +// && HasLess +// && HasLess // OutIter // set_symmetric_difference(InIter1 first1, InIter1 last1, // InIter2 first2, InIter2 last2, diff --git a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/set_symmetric_difference_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/set_symmetric_difference_comp.pass.cpp index b4614ba1f05..35a26c69e35 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/set_symmetric_difference_comp.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/set_symmetric_difference_comp.pass.cpp @@ -10,14 +10,14 @@ // // template -// requires OutputIterator -// && OutputIterator -// && Predicate -// && Predicate +// CopyConstructible Compare> +// requires OutputIterator +// && OutputIterator +// && Predicate +// && Predicate // OutIter // set_symmetric_difference(InIter1 first1, InIter1 last1, -// InIter2 first2, InIter2 last2, +// InIter2 first2, InIter2 last2, // OutIter result, Compare comp); #include diff --git a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.union/set_union.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.union/set_union.pass.cpp index 669f05d3c86..76dfed18338 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.union/set_union.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.union/set_union.pass.cpp @@ -9,11 +9,11 @@ // -// template -// requires OutputIterator -// && OutputIterator -// && HasLess -// && HasLess +// template +// requires OutputIterator +// && OutputIterator +// && HasLess +// && HasLess // OutIter // set_union(InIter1 first1, InIter1 last1, // InIter2 first2, InIter2 last2, OutIter result); diff --git a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.union/set_union_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.union/set_union_comp.pass.cpp index ff61b7e207c..0fbb43ad0c1 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.union/set_union_comp.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.union/set_union_comp.pass.cpp @@ -10,11 +10,11 @@ // // template -// requires OutputIterator -// && OutputIterator -// && Predicate -// && Predicate +// CopyConstructible Compare> +// requires OutputIterator +// && OutputIterator +// && Predicate +// && Predicate // OutIter // set_union(InIter1 first1, InIter1 last1, InIter2 first2, InIter2 last2, // OutIter result, Compare comp); -- cgit v1.2.3