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.sorting/alg.heap.operations/is.heap/is_heap.pass.cpp | 5 ++--- .../alg.heap.operations/is.heap/is_heap_comp.pass.cpp | 5 ++--- .../alg.heap.operations/is.heap/is_heap_until.pass.cpp | 1 - .../alg.heap.operations/is.heap/is_heap_until_comp.pass.cpp | 4 ++-- .../alg.heap.operations/make.heap/make_heap.pass.cpp | 5 ++--- .../alg.heap.operations/make.heap/make_heap_comp.pass.cpp | 8 ++++---- .../alg.sorting/alg.heap.operations/pop.heap/pop_heap.pass.cpp | 5 ++--- .../alg.heap.operations/pop.heap/pop_heap_comp.pass.cpp | 8 ++++---- .../alg.heap.operations/push.heap/push_heap.pass.cpp | 7 +++---- .../alg.heap.operations/push.heap/push_heap_comp.pass.cpp | 10 +++++----- .../alg.heap.operations/sort.heap/sort_heap.pass.cpp | 5 ++--- .../alg.heap.operations/sort.heap/sort_heap_comp.pass.cpp | 8 ++++---- 12 files changed, 32 insertions(+), 39 deletions(-) (limited to 'libcxx/test/algorithms/alg.sorting/alg.heap.operations') diff --git a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap.pass.cpp index 776111437bb..0e7a19cb890 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap.pass.cpp @@ -9,15 +9,14 @@ // -// template -// requires LessThanComparable +// template +// requires LessThanComparable // bool // is_heap(Iter first, Iter last); #include #include - void test() { int i1[] = {0, 0}; diff --git a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_comp.pass.cpp index a6719840900..631d7a8f616 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_comp.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_comp.pass.cpp @@ -9,8 +9,8 @@ // -// template -// requires LessThanComparable +// template +// requires LessThanComparable // bool // is_heap(Iter first, Iter last); @@ -18,7 +18,6 @@ #include #include - void test() { int i1[] = {0, 0}; diff --git a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until.pass.cpp index 4807b1faf23..1908d70c4e7 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until.pass.cpp @@ -17,7 +17,6 @@ #include #include - void test() { int i1[] = {0, 0}; diff --git a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until_comp.pass.cpp index 42d31913ea3..960d60eff7f 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until_comp.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until_comp.pass.cpp @@ -9,8 +9,8 @@ // -// template Compare> -// requires CopyConstructible +// template Compare> +// requires CopyConstructible // Iter // is_heap_until(Iter first, Iter last, Compare comp); diff --git a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap.pass.cpp index 9a4b84fefcd..611583a15aa 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap.pass.cpp @@ -9,15 +9,14 @@ // -// template -// requires ShuffleIterator && LessThanComparable +// template +// requires ShuffleIterator && LessThanComparable // void // make_heap(Iter first, Iter last); #include #include - void test(unsigned N) { int* ia = new int [N]; diff --git a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp index d8dbdfbda47..70b1b81549e 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp @@ -9,8 +9,8 @@ // -// template Compare> -// requires ShuffleIterator && CopyConstructible +// template Compare> +// requires ShuffleIterator && CopyConstructible // void // make_heap(Iter first, Iter last, Compare comp); @@ -27,7 +27,7 @@ struct indirect_less {return *x < *y;} }; -#endif +#endif // _LIBCPP_MOVE void test(unsigned N) { @@ -60,5 +60,5 @@ int main() assert(std::is_heap(ia, ia+N, indirect_less())); delete [] ia; } -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap.pass.cpp index 849be36bb10..96e6a648e6f 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap.pass.cpp @@ -9,15 +9,14 @@ // -// template -// requires ShuffleIterator && LessThanComparable +// template +// requires ShuffleIterator && LessThanComparable // void // pop_heap(Iter first, Iter last); #include #include - void test(unsigned N) { int* ia = new int [N]; diff --git a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap_comp.pass.cpp index 9c06650992a..cc093a54083 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap_comp.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap_comp.pass.cpp @@ -9,8 +9,8 @@ // -// template Compare> -// requires ShuffleIterator && CopyConstructible +// template Compare> +// requires ShuffleIterator && CopyConstructible // void // pop_heap(Iter first, Iter last, Compare comp); @@ -27,7 +27,7 @@ struct indirect_less {return *x < *y;} }; -#endif +#endif // _LIBCPP_MOVE void test(unsigned N) { @@ -64,5 +64,5 @@ int main() } delete [] ia; } -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap.pass.cpp index fe9876b8b47..5e845aa9d87 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap.pass.cpp @@ -9,16 +9,15 @@ // -// template -// requires ShuffleIterator -// && LessThanComparable +// template +// requires ShuffleIterator +// && LessThanComparable // void // push_heap(Iter first, Iter last); #include #include - void test(unsigned N) { int* ia = new int [N]; diff --git a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap_comp.pass.cpp index e60f077a26a..87126298bf9 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap_comp.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap_comp.pass.cpp @@ -9,9 +9,9 @@ // -// template -// requires ShuffleIterator -// && LessThanComparable +// template +// requires ShuffleIterator +// && LessThanComparable // void // push_heap(Iter first, Iter last); @@ -28,7 +28,7 @@ struct indirect_less {return *x < *y;} }; -#endif +#endif // _LIBCPP_MOVE void test(unsigned N) { @@ -62,5 +62,5 @@ int main() } delete [] ia; } -#endif +#endif // _LIBCPP_MOVE } diff --git a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/sort.heap/sort_heap.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/sort.heap/sort_heap.pass.cpp index 2e91333754c..303c8b04685 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/sort.heap/sort_heap.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/sort.heap/sort_heap.pass.cpp @@ -9,15 +9,14 @@ // -// template -// requires ShuffleIterator && LessThanComparable +// template +// requires ShuffleIterator && LessThanComparable // void // sort_heap(Iter first, Iter last); #include #include - void test(unsigned N) { int* ia = new int [N]; diff --git a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/sort.heap/sort_heap_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/sort.heap/sort_heap_comp.pass.cpp index 882a6247496..8cac3b6cdc7 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.heap.operations/sort.heap/sort_heap_comp.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.heap.operations/sort.heap/sort_heap_comp.pass.cpp @@ -9,8 +9,8 @@ // -// template Compare> -// requires ShuffleIterator && CopyConstructible +// template Compare> +// requires ShuffleIterator && CopyConstructible // void // sort_heap(Iter first, Iter last, Compare comp); @@ -27,7 +27,7 @@ struct indirect_less {return *x < *y;} }; -#endif +#endif // _LIBCPP_MOVE void test(unsigned N) { @@ -62,5 +62,5 @@ int main() assert(std::is_sorted(ia, ia+N, indirect_less())); delete [] ia; } -#endif +#endif // _LIBCPP_MOVE } -- cgit v1.2.3