[libcxx-commits] [PATCH] D144923: [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
Mon Feb 27 15:09:03 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/D144923

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144923.500930.patch
Type: text/x-patch
Size: 13203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230227/b9badb70/attachment.bin>


More information about the libcxx-commits mailing list