[all-commits] [llvm/llvm-project] 87cf39: [libc++] Temporarily not use compiler intrinsics f...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Thu Mar 2 17:35:40 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 87cf39aa349b83ae3b7d16c30ac7a8ffa0ad098c
      https://github.com/llvm/llvm-project/commit/87cf39aa349b83ae3b7d16c30ac7a8ffa0ad098c
  Author: Konstantin Varlamov <varconst at apple.com>
  Date:   2023-03-02 (Thu, 02 Mar 2023)

  Changed paths:
    M libcxx/include/__config
    M libcxx/include/__type_traits/add_pointer.h
    M libcxx/include/__type_traits/remove_pointer.h
    A libcxx/test/std/utilities/meta/meta.trans/objc_support.pass.mm

  Log Message:
  -----------
  [libc++] Temporarily not use compiler intrinsics for some type traits in Objective-C++ mode.

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.

Differential Revision: https://reviews.llvm.org/D145186




More information about the All-commits mailing list