Shorty before branching LLVM 13 a new CMake option was added. This
option LIBCXX_ENABLE_INCOMPLETE_FEATURES lacks the contributor
documentation. This patch rectifies that issue.
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rG6f85d9e104ca: [libc++][doc] Improve contributor documentation.
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Thanks for the review.
libcxx/docs/Contributing.rst | ||
---|---|---|
73–74 | I only change a C++ Standard to the a C++ Standard. In the view of ISO there's only one standard. |
libcxx/docs/Contributing.rst | ||
---|---|---|
73–74 | There is only one Standard, but there have been many Standards over the past few years. If we're going to split hairs, there's no such thing as "a Standard that has not yet been ratified," because before it's been ratified it's not a Standard yet — merely a draft. ;) Anyway, I'd take Louis's wording with one minor tweak to the grammatical placement of yet. Also I'm ambivalent as to whether the indicated word should be or or nor: Libc++ makes no guarantees about the implementation status [n]or the ABI stability of features that have not yet been ratified in a C++ Standard. After the C++ Standard is ratified, libc++ promises a conforming and ABI-stable implementation. | |
101 | ``libcxx/include/foo``: The file should include ``<version>`` and then guard the feature with an ``ifdef``. Throughout, I recommend giving full paths. You currently say libcxx/include/__config_site.in (full path) but only include/foo (partial path); which means I'm not sure whether CMakeLists.txt on line 89 is a full path or not. | |
109 | // Make sure all feature-test macros are available. | |
111 | // Enable the contents of the header only when libc++ was built with LIBCXX_ENABLE_INCOMPLETE_FEATURES. |
I addressed the issues in rGd2bc4fa3c70ad9dd1723b2e75c9059c5db2052cf.
libcxx/docs/Contributing.rst | ||
---|---|---|
73–74 | I still like the better, so I keep that. | |
101 | Seems libcxx/include/__config_site.in is the only full path, the others are all relative. I changed them all to full paths. | |
109 | Since this document describes the current implementation, I applied this change here and in <format> and <ranges>. | |
111 | Since this document describes the current implementation, I applied this change here and in <format> and <ranges>. |