[PATCH] D77519: Fix __is_pointer builtin type trait to work with Objective-C pointer types.

Zoe Carver via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 5 19:14:03 PDT 2020


zoecarver created this revision.
Herald added projects: clang, libc++.
Herald added subscribers: libcxx-commits, cfe-commits.
Herald added a reviewer: libc++.
zoecarver added reviewers: ldionne, rsmith, EricWF.
Herald added a subscriber: dexonsmith.

5ade17e <https://reviews.llvm.org/rG5ade17e0ca8b11f57cb15a1bee6d30a3815d8cac> broke __is_pointer for Objective-C pointer types. This patch fixes the builtin and re-applies the change to type_traits.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77519

Files:
  clang/lib/Sema/SemaExprCXX.cpp
  clang/test/SemaObjC/type-traits-is-pointer.mm
  libcxx/include/type_traits

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77519.255214.patch
Type: text/x-patch
Size: 3165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200406/cb6c52ea/attachment.bin>


More information about the cfe-commits mailing list