[PATCH] D50719: [libc++] Fix incorrect definition of TEST_HAS_C11_FEATURES

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 14 11:34:42 PDT 2018


mclow.lists added a comment.

thinking about this more, I think this the wrong long-term direction.

The presence/absence of C11 features in the underlying C library does not depend on what version of the C++ language we're compiling with.
The tests that use `TEXT_HAS_C11_XXX` should be updated to check `TEST_STD_VER` instead.

However, I'm fine with this as a short-term fix.


Repository:
  rCXX libc++

https://reviews.llvm.org/D50719





More information about the cfe-commits mailing list