[PATCH] [libcxx] Add <experimental/any> v2.

Eric Fiselier eric at efcs.ca
Tue Mar 17 08:45:02 PDT 2015


Fix review comments.


http://reviews.llvm.org/D6762

Files:
  include/experimental/any
  src/any.cpp
  test/libcxx/experimental/any/any.class/any.assign/copy_large_throws.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/copy_self.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/copy_small_throws.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/copy_to_empty.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/copy_to_large.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/copy_to_small.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/large_value_copy_throws.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/move_self.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/move_to_empty.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/move_to_large.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/move_to_small.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/small_value_copy_throws.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/value_move_throws.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/value_to_empty.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/value_to_large.pass.cpp
  test/libcxx/experimental/any/any.class/any.assign/value_to_small.pass.cpp
  test/libcxx/experimental/any/any.class/any.cons/copy.pass.cpp
  test/libcxx/experimental/any/any.class/any.cons/copy_throws.pass.cpp
  test/libcxx/experimental/any/any.class/any.cons/move.pass.cpp
  test/libcxx/experimental/any/any.class/any.cons/move_throws.pass.cpp
  test/libcxx/experimental/any/any.class/any.cons/value.pass.cpp
  test/libcxx/experimental/any/any.class/any.cons/value_copy_throws.pass.cpp
  test/libcxx/experimental/any/any.class/any.cons/value_move_throws.pass.cpp
  test/libcxx/experimental/any/any.class/any.modifiers/clear.pass.cpp
  test/libcxx/experimental/any/any.class/any.modifiers/swap_empty_empty.pass.cpp
  test/libcxx/experimental/any/any.class/any.modifiers/swap_empty_large.pass.cpp
  test/libcxx/experimental/any/any.class/any.modifiers/swap_empty_small.pass.cpp
  test/libcxx/experimental/any/any.class/any.modifiers/swap_large_large.pass.cpp
  test/libcxx/experimental/any/any.class/any.modifiers/swap_large_small.pass.cpp
  test/libcxx/experimental/any/any.class/any.modifiers/swap_small_small.pass.cpp
  test/libcxx/experimental/any/any.class/any.observers/nothing_to_do.pass.cpp
  test/libcxx/experimental/any/any.class/nothing_to_do.pass.cpp
  test/libcxx/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/nothing_to_do.pass.cpp
  test/libcxx/experimental/any/any.nonmembers/any.cast/any.cast.throws/nothing_to_do.pass.cpp
  test/libcxx/experimental/any/any.nonmembers/any.cast/nothing_to_do.pass.cpp
  test/libcxx/experimental/any/size_and_alignment.pass.cpp
  test/libcxx/experimental/any/small_type.pass.cpp
  test/libcxx/experimental/any/version.pass.cpp
  test/std/experimental/any/any.class/any.assign/copy_large_throws.pass.cpp
  test/std/experimental/any/any.class/any.assign/copy_self.pass.cpp
  test/std/experimental/any/any.class/any.assign/copy_small_throws.pass.cpp
  test/std/experimental/any/any.class/any.assign/copy_to_empty.pass.cpp
  test/std/experimental/any/any.class/any.assign/copy_to_large.pass.cpp
  test/std/experimental/any/any.class/any.assign/copy_to_small.pass.cpp
  test/std/experimental/any/any.class/any.assign/large_value_copy.pass.cpp
  test/std/experimental/any/any.class/any.assign/move_noexcept.pass.cpp
  test/std/experimental/any/any.class/any.assign/move_to_empty.pass.cpp
  test/std/experimental/any/any.class/any.assign/move_to_large.pass.cpp
  test/std/experimental/any/any.class/any.assign/move_to_small.pass.cpp
  test/std/experimental/any/any.class/any.assign/small_value_copy_throws.pass.cpp
  test/std/experimental/any/any.class/any.assign/value_move_throws.pass.cpp
  test/std/experimental/any/any.class/any.assign/value_non_copyable_assign.fail.cpp
  test/std/experimental/any/any.class/any.assign/value_to_empty.pass.cpp
  test/std/experimental/any/any.class/any.assign/value_to_large.pass.cpp
  test/std/experimental/any/any.class/any.assign/value_to_small.pass.cpp
  test/std/experimental/any/any.class/any.cons/copy.pass.cpp
  test/std/experimental/any/any.class/any.cons/copy_throws.pass.cpp
  test/std/experimental/any/any.class/any.cons/default.pass.cpp
  test/std/experimental/any/any.class/any.cons/move.pass.cpp
  test/std/experimental/any/any.class/any.cons/move_throws.pass.cpp
  test/std/experimental/any/any.class/any.cons/non_copyable_value.fail.cpp
  test/std/experimental/any/any.class/any.cons/value.pass.cpp
  test/std/experimental/any/any.class/any.cons/value_copy_throws.pass.cpp
  test/std/experimental/any/any.class/any.cons/value_move_throws.pass.cpp
  test/std/experimental/any/any.class/any.modifiers/clear.pass.cpp
  test/std/experimental/any/any.class/any.modifiers/swap_empty_empty.pass.cpp
  test/std/experimental/any/any.class/any.modifiers/swap_empty_large.pass.cpp
  test/std/experimental/any/any.class/any.modifiers/swap_empty_small.pass.cpp
  test/std/experimental/any/any.class/any.modifiers/swap_large_large.pass.cpp
  test/std/experimental/any/any.class/any.modifiers/swap_large_small.pass.cpp
  test/std/experimental/any/any.class/any.modifiers/swap_noexcept.pass.cpp
  test/std/experimental/any/any.class/any.modifiers/swap_small_small.pass.cpp
  test/std/experimental/any/any.class/any.observers/empty.pass.cpp
  test/std/experimental/any/any.class/any.observers/type.pass.cpp
  test/std/experimental/any/any.class/nothing_to_do.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/bad_type.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/const_reference.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/const_reference2.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/const_rvalue_reference.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/const_rvalue_reference2.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/empty.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/large_value.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/noexcept.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/nullptr.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/reference.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/reference2.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/rvalue_reference.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/rvalue_reference2.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.nothrow/small_value.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.throws/const_lvalue_cast_const_correctness.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.throws/const_lvalue_cast_not_copy_constructible.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.throws/empty.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.throws/large.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.throws/lvalue_cast_not_copy_constructible.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.throws/non_copy_ref.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.throws/rvalue_cast_not_copy_constructible.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any.cast.throws/small.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/nothing_to_do.pass.cpp
  test/std/experimental/any/any.nonmembers/swap.pass.cpp
  test/support/any_types.hpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6762.22096.patch
Type: text/x-patch
Size: 230066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150317/ff13af88/attachment.bin>


More information about the cfe-commits mailing list