[libcxx-commits] [PATCH] D145186: [libc++] Temporarily not use compiler intrinsics for some type traits in Objective-C++ mode.

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 2 14:00:37 PST 2023


var-const created this revision.
Herald added a project: All.
var-const requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Currently, there are bugs in Clang's intrinsics for type traits when
handling Objective-C++ `id` (e.g. in `add_pointer`). As a temporary
workaround, don't use these intrinsics in the Objective-C++ mode.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D145186

Files:
  libcxx/include/__config
  libcxx/include/__type_traits/add_lvalue_reference.h
  libcxx/include/__type_traits/add_pointer.h
  libcxx/include/__type_traits/add_rvalue_reference.h
  libcxx/include/__type_traits/decay.h
  libcxx/include/__type_traits/is_referenceable.h
  libcxx/include/__type_traits/make_signed.h
  libcxx/include/__type_traits/make_unsigned.h
  libcxx/include/__type_traits/remove_all_extents.h
  libcxx/include/__type_traits/remove_const.h
  libcxx/include/__type_traits/remove_cv.h
  libcxx/include/__type_traits/remove_cvref.h
  libcxx/include/__type_traits/remove_extent.h
  libcxx/include/__type_traits/remove_pointer.h
  libcxx/include/__type_traits/remove_reference.h
  libcxx/include/__type_traits/remove_volatile.h
  libcxx/test/std/utilities/meta/meta.trans/objc_support.pass.mm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145186.501972.patch
Type: text/x-patch
Size: 17911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230302/62ff7ae5/attachment.bin>


More information about the libcxx-commits mailing list