[libcxx-commits] [PATCH] D72708: [libc++] Make sure std::is_object returns true for block types
John McCall via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 14 10:04:45 PST 2020
rjmccall added inline comments.
================
Comment at: libcxx/include/__config:467
+#if __has_extension(blocks)
+# define _LIBCPP_HAS_OBJC_BLOCKS
+#endif
----------------
Oh, and blocks are not strictly an Objective-C language extension; I understand that "blocks" is a highly generic term that you may not want to use alone, but calling them "ObjC blocks" may be misleading as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72708/new/
https://reviews.llvm.org/D72708
More information about the libcxx-commits
mailing list