| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc++] Introduce unversioned namespace macros (#133009) We've started using _LIBCPP_BEGIN_NAMESPACE_STD and _LIBCPP_END_NAMESPACE_STD for more than just the namespace for a while now. For example, we're using it to add visibility annotations to types. This works very well and avoids a bunch of annotations, but doesn't work for the few places where we have an unversioned namespace. This adds _LIBCPP_BEGIN_UNVERSIONED_NAMESPACE_STD and _LIBCPP_END_UNVERSIONED_NAMESPACE_STD to make it simpler to add new annotations consistently across the library as well as making it more explicit that the unversioned namespace is indeed intended. | 1 年前 | |
[libc++][modules] Modularize <cstddef> (#107254) Many headers include <cstddef> just for size_t, and pulling in additional content (e.g. the traits used for std::byte) is unnecessary. To solve this problem, this patch splits up <cstddef> into subcomponents so that headers can include only the parts that they actually require. This has the added benefit of making the modules build a lot stricter with respect to IWYU, and also providing a canonical location where we define std::size_t and friends (which were previously defined in multiple headers like <cstddef> and <ctime>). After this patch, there's still many places in the codebase where we include <cstddef> when <__cstddef/size_t.h> would be sufficient. This patch focuses on removing <cstddef> includes from __type_traits to make these headers non-circular with <cstddef>. Additional refactorings can be tackled separately. | 1 年前 | |
[libc++] Remove <stddef.h> includes from the granularized <cstddef> headers (#114788) We can define some of these aliases without having to include the system <stddef.h> and there doesn't seem to be much of a reason we shouldn't do it this way. | 1 年前 | |
[libc++] Remove <stddef.h> includes from the granularized <cstddef> headers (#114788) We can define some of these aliases without having to include the system <stddef.h> and there doesn't seem to be much of a reason we shouldn't do it this way. | 1 年前 | |
[libc++] Remove <stddef.h> includes from the granularized <cstddef> headers (#114788) We can define some of these aliases without having to include the system <stddef.h> and there doesn't seem to be much of a reason we shouldn't do it this way. | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 |