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

Eric Fiselier eric at efcs.ca
Thu Jul 30 18:52:50 PDT 2015


EricWF updated this revision to Diff 31101.
EricWF added a comment.

Fix some final issues:

- Get tests passing with -fno-rtti and -fno-exceptions
- Prevent vtable of bad_any_cast from being emitted by placing constructor and destructor definitions in the dylib.
- Remove duplication of `_LIBCPP_INLINE_VISIBILITY _LIBCPP_ALWAYS_INLINE`
- Fix bad clear test.


http://reviews.llvm.org/D6762

Files:
  include/experimental/any
  src/any.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.pass.cpp
  test/std/experimental/any/any.class/any.assign/move.pass.cpp
  test/std/experimental/any/any.class/any.assign/value.pass.cpp
  test/std/experimental/any/any.class/any.assign/value_non_copyable_assign.fail.cpp
  test/std/experimental/any/any.class/any.cons/copy.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/non_copyable_value.fail.cpp
  test/std/experimental/any/any.class/any.cons/value.pass.cpp
  test/std/experimental/any/any.class/any.modifiers/clear.pass.cpp
  test/std/experimental/any/any.class/any.modifiers/swap.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_pointer.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/any_cast_reference.pass.cpp
  test/std/experimental/any/any.nonmembers/any.cast/const_correctness.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/not_copy_constructible.fail.cpp
  test/std/experimental/any/any.nonmembers/any.cast/reference_types.fail.cpp
  test/std/experimental/any/any.nonmembers/swap.pass.cpp
  test/support/any_helpers.h
  test/support/count_new.hpp
  test/support/test_macros.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6762.31101.patch
Type: text/x-patch
Size: 84108 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150731/eec8bd3f/attachment.bin>


More information about the cfe-commits mailing list