[libcxx-commits] [PATCH] D158215: [libc++][NFC] Remove __has_keyword

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 18 11:12:59 PDT 2023


philnik added inline comments.


================
Comment at: libcxx/include/__config:1157
 
-#  if __has_feature(cxx_atomic) || __has_extension(c_atomic) || __has_keyword(_Atomic)
+#  if __has_feature(cxx_atomic) || __has_extension(c_atomic)
 #    define _LIBCPP_HAS_C_ATOMIC_IMP
----------------
Mordante wrote:
> Why is this NFC?
Because this is always false for GCC and always true for Clang.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158215



More information about the libcxx-commits mailing list