llvm-project/libcxx
Louis Dionne 2eadbc8614 [libc++] Rework the whole availability markup implementation
Currently, vendor-specific availability markup is enabled by default.
This means that even when building against trunk libc++, the headers
will by default prevent you from using some features that were not
released in the dylib on your target platform. This is a source of
frustration since people building libc++ from sources are usually not
trying to use some vendor's released dylib.

For that reason, I've been thinking for a long time that availability
annotations should be off by default, which is the primary change that
this commit enables.

In addition, it reworks the implementation to make it easier for new
vendors to add availability annotations for their platform, and it
refreshes the documentation to reflect the current state of the codebase.

Finally, a CMake configuration option is added to control whether
availability annotations should be turned on for the flavor of libc++
being created. The intent is for vendors like Apple to turn it on, and
for the upstream libc++ to leave it off (the default).

Differential Revision: https://reviews.llvm.org/D90843
2020-11-05 12:28:52 -05:00
..
benchmarks [runtimes] Revert the libc++ __config_site change 2020-10-23 09:41:48 -04:00
cmake [libc++] Rework the whole availability markup implementation 2020-11-05 12:28:52 -05:00
docs [libc++] Rework the whole availability markup implementation 2020-11-05 12:28:52 -05:00
include [libc++] Rework the whole availability markup implementation 2020-11-05 12:28:52 -05:00
lib [libc++] NFC: Re-generate the ABI lists with the new script 2020-11-02 11:36:35 -05:00
src [libc++] Rework the whole availability markup implementation 2020-11-05 12:28:52 -05:00
test [libc++] Correct XFAILs for the C++20 Synchronization Library 2020-11-05 08:45:57 -05:00
utils [libc++] Rework the whole availability markup implementation 2020-11-05 12:28:52 -05:00
www [libc++][NFC] Mark LWG issue 2899 as not complete. 2020-11-03 13:35:12 -08:00
.clang-format
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
CMakeLists.txt [libc++] Rework the whole availability markup implementation 2020-11-05 12:28:52 -05:00
CREDITS.TXT [libcxx] Adds [concept.same] 2020-04-08 18:00:13 -04:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
NOTES.TXT
TODO.TXT [libc++][NFC] Remove outdated TODO item 2020-07-08 13:04:33 -04:00
appveyor-reqs-install.cmd Attempt to upgrade compiler used by appveyor builds 2019-04-03 20:40:01 +00:00
appveyor.yml disable appveyor config for MSVC 2015 2019-04-03 20:36:51 +00:00