[libcxx-commits] [PATCH] D67900: [libc++] Use builtin type traits whenever possible

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 18 15:46:40 PDT 2020


ldionne accepted this revision.
ldionne added a comment.
This revision is now accepted and ready to land.

LGTM if the `is_enum` test is sufficient.



================
Comment at: libcxx/include/type_traits:1161
 
 #if __has_feature(is_enum) || defined(_LIBCPP_COMPILER_GCC)
 
----------------
`__is_enum` is not guarded by `__has_keyword` like the other ones?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D67900





More information about the libcxx-commits mailing list