[libcxx-commits] [PATCH] D60087: [libc++] Correctly handle Objective-C++ ARC qualifiers in std::is_pointer

Akira Hatanaka via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 2 11:15:09 PDT 2019


ahatanak added inline comments.


================
Comment at: libcxx/test/libcxx/type_traits/is_pointer_objc.arc.pass.mm:21
+
+static_assert(std::is_pointer<__weak id>::value, "");
+static_assert(std::is_pointer<__strong id>::value, "");
----------------
Also, can you add a test case that tests the combination of `const` or `volatile` and `__weak`? 

```
std::is_pointer<__weak const id>
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D60087





More information about the libcxx-commits mailing list