llvm-project/libcxx/docs/DesignDocs
Eric Fiselier 32784a740a Implement feature test macros using a script.
Summary:
This patch implements all the feature test macros libc++ currently supports, as specified by the standard or cppreference prior to C++2a.

The tests and `<version>` header are generated using a script. The script contains a table of each feature test macro, the headers it should be accessible from, and its values of each dialect of C++.
When a new feature test macro is added or needed, the table should be updated and the script re-run.



Reviewers: mclow.lists, jfb, serge-sans-paille

Reviewed By: mclow.lists

Subscribers: arphaman, jfb, ldionne, libcxx-commits

Differential Revision: https://reviews.llvm.org/D56750

llvm-svn: 351286
2019-01-16 01:37:43 +00:00
..
ABIVersioning.rst Use __config_site when building libc++. Also cleanup ABI versioning doc 2015-10-14 00:22:05 +00:00
AvailabilityMarkup.rst [libcxx] Remove the availability_markup LIT feature 2018-12-07 21:48:39 +00:00
CapturingConfigInfo.rst fix some typos in the doc 2018-09-20 08:05:01 +00:00
DebugMode.rst Fix typo in docs 2017-02-05 01:16:25 +00:00
FeatureTestMacros.rst Implement feature test macros using a script. 2019-01-16 01:37:43 +00:00
FileTimeType.rst [NFC] Fix grammatical mistakes in libc++ FileTimeType design docs 2018-07-25 13:40:49 +00:00
ThreadingSupportAPI.rst [cmake] Add a config option LIBCXX_HAS_WIN32_THREAD_API for enforcing win32 threads 2018-01-05 20:48:29 +00:00
VisibilityMacros.rst [libc++] Make sure we can build libc++ with -fvisibility=hidden 2018-10-25 12:13:43 +00:00