[cfe-commits] [libcxx] r121275 - in /libcxx/trunk/test: depr/depr.function.objects/ depr/depr.function.objects/depr.adaptors/ depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/ depr/depr.function.objects/depr.base/ strings/basic.string/string.modifiers/string_op+=/ utilities/function.objects/ utilities/function.objects/function.pointer.adaptors/ utilities/function.objects/member.pointer.adaptors/

Howard Hinnant hhinnant at apple.com
Wed Dec 8 12:09:10 PST 2010


Author: hhinnant
Date: Wed Dec  8 14:09:09 2010
New Revision: 121275

URL: http://llvm.org/viewvc/llvm-project?rev=121275&view=rev
Log:
cleaning up...

Added:
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_binary_function.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/function.pointer.adaptors/pointer_to_binary_function.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/pointer_to_unary_function.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/function.pointer.adaptors/pointer_to_unary_function.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun1.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/function.pointer.adaptors/ptr_fun1.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.function.pointer.adaptors/ptr_fun2.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/function.pointer.adaptors/ptr_fun2.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/const_mem_fun.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/const_mem_fun1.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_ref_t.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/const_mem_fun1_ref_t.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun1_t.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/const_mem_fun1_t.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/const_mem_fun_ref.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref1.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/const_mem_fun_ref1.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_ref_t.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/const_mem_fun_ref_t.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/const_mem_fun_t.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/const_mem_fun_t.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/mem_fun.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/mem_fun1.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_ref_t.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/mem_fun1_ref_t.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun1_t.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/mem_fun1_t.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/mem_fun_ref.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref1.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/mem_fun_ref1.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_ref_t.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/mem_fun_ref_t.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/mem_fun_t.pass.cpp
      - copied unchanged from r121265, libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/mem_fun_t.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/nothing_to_do.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.base/binary_function.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/depr.base/unary_function.pass.cpp
    libcxx/trunk/test/depr/depr.function.objects/nothing_to_do.pass.cpp
Removed:
    libcxx/trunk/test/depr/depr.function.objects/depr.base/nothing_to_do.pass.cpp
    libcxx/trunk/test/strings/basic.string/string.modifiers/string_op+=/
    libcxx/trunk/test/utilities/function.objects/function.pointer.adaptors/
    libcxx/trunk/test/utilities/function.objects/member.pointer.adaptors/
    libcxx/trunk/test/utilities/function.objects/version.pass.cpp

Added: libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/nothing_to_do.pass.cpp?rev=121275&view=auto
==============================================================================
--- libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/nothing_to_do.pass.cpp (added)
+++ libcxx/trunk/test/depr/depr.function.objects/depr.adaptors/nothing_to_do.pass.cpp Wed Dec  8 14:09:09 2010
@@ -0,0 +1,12 @@
+//===----------------------------------------------------------------------===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+int main()
+{
+}

Added: libcxx/trunk/test/depr/depr.function.objects/depr.base/binary_function.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/depr/depr.function.objects/depr.base/binary_function.pass.cpp?rev=121275&view=auto
==============================================================================
--- libcxx/trunk/test/depr/depr.function.objects/depr.base/binary_function.pass.cpp (added)
+++ libcxx/trunk/test/depr/depr.function.objects/depr.base/binary_function.pass.cpp Wed Dec  8 14:09:09 2010
@@ -0,0 +1,28 @@
+//===----------------------------------------------------------------------===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+// <functional>
+
+// template <class Arg1, class Arg2, class Result>
+// struct binary_function
+// {
+//     typedef Arg1   first_argument_type;
+//     typedef Arg2   second_argument_type;
+//     typedef Result result_type;
+// };
+
+#include <functional>
+#include <type_traits>
+
+int main()
+{
+    static_assert((std::is_same<std::binary_function<int, unsigned, char>::first_argument_type, int>::value), "");
+    static_assert((std::is_same<std::binary_function<int, unsigned, char>::second_argument_type, unsigned>::value), "");
+    static_assert((std::is_same<std::binary_function<int, unsigned, char>::result_type, char>::value), "");
+}

Removed: libcxx/trunk/test/depr/depr.function.objects/depr.base/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/depr/depr.function.objects/depr.base/nothing_to_do.pass.cpp?rev=121274&view=auto
==============================================================================
--- libcxx/trunk/test/depr/depr.function.objects/depr.base/nothing_to_do.pass.cpp (original)
+++ libcxx/trunk/test/depr/depr.function.objects/depr.base/nothing_to_do.pass.cpp (removed)
@@ -1,12 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is dual licensed under the MIT and the University of Illinois Open
-// Source Licenses. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-int main()
-{
-}

Added: libcxx/trunk/test/depr/depr.function.objects/depr.base/unary_function.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/depr/depr.function.objects/depr.base/unary_function.pass.cpp?rev=121275&view=auto
==============================================================================
--- libcxx/trunk/test/depr/depr.function.objects/depr.base/unary_function.pass.cpp (added)
+++ libcxx/trunk/test/depr/depr.function.objects/depr.base/unary_function.pass.cpp Wed Dec  8 14:09:09 2010
@@ -0,0 +1,26 @@
+//===----------------------------------------------------------------------===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+// <functional>
+
+// template <class Arg, class Result>
+// struct unary_function
+// {
+//     typedef Arg    argument_type;
+//     typedef Result result_type;
+// };
+
+#include <functional>
+#include <type_traits>
+
+int main()
+{
+    static_assert((std::is_same<std::unary_function<unsigned, char>::argument_type, unsigned>::value), "");
+    static_assert((std::is_same<std::unary_function<unsigned, char>::result_type, char>::value), "");
+}

Added: libcxx/trunk/test/depr/depr.function.objects/nothing_to_do.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/depr/depr.function.objects/nothing_to_do.pass.cpp?rev=121275&view=auto
==============================================================================
--- libcxx/trunk/test/depr/depr.function.objects/nothing_to_do.pass.cpp (added)
+++ libcxx/trunk/test/depr/depr.function.objects/nothing_to_do.pass.cpp Wed Dec  8 14:09:09 2010
@@ -0,0 +1,12 @@
+//===----------------------------------------------------------------------===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+int main()
+{
+}

Removed: libcxx/trunk/test/utilities/function.objects/version.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/utilities/function.objects/version.pass.cpp?rev=121274&view=auto
==============================================================================
--- libcxx/trunk/test/utilities/function.objects/version.pass.cpp (original)
+++ libcxx/trunk/test/utilities/function.objects/version.pass.cpp (removed)
@@ -1,20 +0,0 @@
-//===----------------------------------------------------------------------===//
-//
-//                     The LLVM Compiler Infrastructure
-//
-// This file is dual licensed under the MIT and the University of Illinois Open
-// Source Licenses. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-// <functional>
-
-#include <functional>
-
-#ifndef _LIBCPP_VERSION
-#error _LIBCPP_VERSION not defined
-#endif
-
-int main()
-{
-}





More information about the cfe-commits mailing list