summaryrefslogtreecommitdiffstats
path: root/libcxx/docs/DesignDocs
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-02-02 23:13:49 +0000
committerEric Fiselier <eric@efcs.ca>2019-02-02 23:13:49 +0000
commit508da4156aa6b0fd9c4a0146922268d6320fb679 (patch)
treea4f286191310a626d9c849f3b38dca7a26055ca7 /libcxx/docs/DesignDocs
parent003311270bd3ab32852b4e45c7fd73eb41212300 (diff)
downloadbcm5719-llvm-508da4156aa6b0fd9c4a0146922268d6320fb679.tar.gz
bcm5719-llvm-508da4156aa6b0fd9c4a0146922268d6320fb679.zip
Move the feature test macros script to the utils directory.
It doesn't make a lot of sense to keep it with the tests, deep into the test suite directonies. llvm-svn: 352970
Diffstat (limited to 'libcxx/docs/DesignDocs')
-rw-r--r--libcxx/docs/DesignDocs/FeatureTestMacros.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/libcxx/docs/DesignDocs/FeatureTestMacros.rst b/libcxx/docs/DesignDocs/FeatureTestMacros.rst
index d55af96c674..2fbba6547bb 100644
--- a/libcxx/docs/DesignDocs/FeatureTestMacros.rst
+++ b/libcxx/docs/DesignDocs/FeatureTestMacros.rst
@@ -9,7 +9,9 @@ Overview
========
Libc++ implements the C++ feature test macros as specified in the C++2a standard,
-and before that in non-normative guiding documents (`See cppreference <https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros>`)
+and before that in non-normative guiding documents
+(`See cppreference <https://en.cppreference.com/w/User:D41D8CD98F/feature_testing_macros>`_)
+
Design
======
@@ -23,8 +25,7 @@ lives in, and whether or not is is implemented by libc++. From this SSoA we
have enough information to automatically generate the `<version>` header,
the tests, and the documentation.
-Therefore we maintain a SSoA in
-`libcxx/test/std/language.support/support.limits/support.limits.general/generate_feature_test_macro_components.py`
+Therefore we maintain a SSoA in `libcxx/utils/generate_feature_test_macro_components.py`
which doubles as a script to generate the following components:
* The `<version>` header.
@@ -41,4 +42,4 @@ Whenever a feature test macro is added or changed, the table should be updated
and the script should be re-ran. The script will clobber the existing test files
and the documentation and it will generate a new `<version>` header as a
temporary file. The generated `<version>` header should be merged with the
-existing one. \ No newline at end of file
+existing one.
OpenPOWER on IntegriCloud