[libcxx-commits] [PATCH] D82490: [libcxx] Put clang::trivial_abi on std::unique_ptr

Mikael Holmén via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jul 5 23:27:26 PDT 2020


uabelho added a comment.

I hit this assertion in a couple of testcases when running check-all on trunk now:

  clang-11: /repo/uabelho/master/clang/include/clang/AST/DeclCXX.h:680: bool clang::CXXRecordDecl::defaultedCopyConstructorIsDeleted() const: Assertion `(!needsOverloadResolutionForCopyConstructor() || (data().DeclaredSpecialMembers & SMF_CopyConstructor)) && "this property has not yet been computed by Sema"' failed.

I get it for a couple of testcases:

Failed Tests (4):

  libc++ :: libcxx/memory/trivial_abi/unique_ptr_arg.pass.cpp
  libc++ :: libcxx/memory/trivial_abi/unique_ptr_array.pass.cpp
  libc++ :: libcxx/memory/trivial_abi/unique_ptr_destruction_order.pass.cpp
  libc++ :: libcxx/memory/trivial_abi/unique_ptr_ret.pass.cpp


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82490/new/

https://reviews.llvm.org/D82490





More information about the libcxx-commits mailing list