summaryrefslogtreecommitdiffstats
path: root/libcxx/docs/index.rst
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-01-16 01:37:43 +0000
committerEric Fiselier <eric@efcs.ca>2019-01-16 01:37:43 +0000
commit32784a740a0282dc6f4390b683ed6c6516f4d66c (patch)
tree04747397f1cf0d73d679572ce709ab61df6776da /libcxx/docs/index.rst
parent56c587adfd2999a5f096cf49266552de931aa1e3 (diff)
downloadbcm5719-llvm-32784a740a0282dc6f4390b683ed6c6516f4d66c.tar.gz
bcm5719-llvm-32784a740a0282dc6f4390b683ed6c6516f4d66c.zip
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
Diffstat (limited to 'libcxx/docs/index.rst')
-rw-r--r--libcxx/docs/index.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcxx/docs/index.rst b/libcxx/docs/index.rst
index bb56f2da0cf..fddf74b66a9 100644
--- a/libcxx/docs/index.rst
+++ b/libcxx/docs/index.rst
@@ -40,6 +40,11 @@ Getting Started with libc++
TestingLibcxx
+.. toctree::
+ :hidden:
+
+ FeatureTestMacroTable
+
Current Status
--------------
@@ -107,6 +112,7 @@ C++ Dialect Support
* `C++14 - Complete <http://libcxx.llvm.org/cxx1y_status.html>`__
* `C++17 - In Progress <http://libcxx.llvm.org/cxx1z_status.html>`__
* `Post C++14 Technical Specifications - In Progress <http://libcxx.llvm.org/ts1z_status.html>`__
+* :ref:`C++ Feature Test Macro Status <feature-status>`
Notes and Known Issues
----------------------
@@ -136,6 +142,7 @@ Design Documents
DesignDocs/VisibilityMacros
DesignDocs/ThreadingSupportAPI
DesignDocs/FileTimeType
+ DesignDocs/FeatureTestMacros
* `<atomic> design <http://libcxx.llvm.org/atomic_design.html>`_
* `<type_traits> design <http://libcxx.llvm.org/type_traits_design.html>`_
OpenPOWER on IntegriCloud