| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc++][NFC] Remove _LIBCPP_DISABLE_EXTENSION_WARNINGS (#133693) We only use _LIBCPP_DISABLE_EXTENSION_WARNINGS in a single place while we use extensions all over the place. The warnings are already disabled, since libc++'s headers are system headers, so this shouldn't be in any way observable by users. | 1 年前 | |
[libc++] Put _LIBCPP_NODEBUG on all internal aliases (#118710) This significantly reduces the amount of debug information generated for codebases using libc++, without hurting the debugging experience. | 1 年前 | |
[libc++] Remove availability annotations that aren't required anymore (#161640) Apple dropped support for some older platforms, so we can also remove the annotations for them. See https://developer.apple.com/support/xcode/ for the supported versions. | 9 个月前 | |
[libc++] Remove availability annotations that aren't required anymore (#161640) Apple dropped support for some older platforms, so we can also remove the annotations for them. See https://developer.apple.com/support/xcode/ for the supported versions. | 9 个月前 | |
[libc++] Get the GCC build mostly clean of warnings (#96604) The GCC build has gotten to the point where it's often hard to find the actual error in the build log. We should look into enabling these warnings again in the future, but it looks like a lot of them are bogous. | 2 年前 | |
[libc++][RFC] Always define internal feature test macros (#89178) Currently, the library-internal feature test macros are only defined if the feature is not available, and always have the prefix _LIBCPP_HAS_NO_. This patch changes that, so that they are always defined and have the prefix _LIBCPP_HAS_ instead. This changes the canonical use of these macros to #if _LIBCPP_HAS_FEATURE, which means that using an undefined macro (e.g. due to a missing include) is diagnosed now. While this is rather unlikely currently, a similar change in <__configuration/availability.h> caught a few bugs. This also improves readability, since it removes the double-negation of #ifndef _LIBCPP_HAS_NO_FEATURE. The current patch only touches the macros defined in <__config>. If people are happy with this approach, I'll make a follow-up PR to also change the macros defined in <__config_site>. | 1 年前 | |
[libc++][atomic] P2835R7: Expose std::atomic_ref's object address (#162236) Implements https://wg21.link/P2835R7 Closes #118377 # References - https://wg21.link/atomics.ref.generic.general - https://wg21.link/atomics.ref.int - https://wg21.link/atomics.ref.float - https://wg21.link/atomics.ref.pointer --------- Co-authored-by: Hristo Hristov <zingam@outlook.com> | 9 个月前 | |
[libc++] Remove availability annotations that aren't required anymore (#161640) Apple dropped support for some older platforms, so we can also remove the annotations for them. See https://developer.apple.com/support/xcode/ for the supported versions. | 9 个月前 | |
[libc++] Implement C++20 atomic_ref (#76647) Implement the std::atomic_ref class template by reusing atomic_base_impl. Based on the work from https://reviews.llvm.org/D72240 | 2 年前 | |
[libc++] Put _LIBCPP_NODEBUG on all internal aliases (#118710) This significantly reduces the amount of debug information generated for codebases using libc++, without hurting the debugging experience. | 1 年前 | |
[libc++] Extract a clean base support API for std::atomic (#118129) This patch documents the underlying API for implementing atomics on a platform. This doesn't change the operations that std::atomic is based on, but it reorganizes the C11 / GCC implementation split to make it clearer what's the base support layer and what's not. | 1 年前 | |
| 10 个月前 | ||
[libc++] Clang-tidy enable modernize-use-nullptr. Clang-tidy 18 no longer has false positives with the spaceship operator. Note that I'm quite sure there are more occurrences in our headers that are not caught. This relands https://github.com/llvm/llvm-project/pull/76659 with fixes tested in https://github.com/llvm/llvm-project/pull/78746. | 2 年前 | |
[libc++] Format the code base (#74334) This patch runs clang-format on all of libcxx/include and libcxx/src, in accordance with the RFC discussed at [1]. Follow-up patches will format the benchmarks, the test suite and remaining parts of the code. I'm splitting this one into its own patch so the diff is a bit easier to review. This patch was generated with: find libcxx/include libcxx/src -type f \ | grep -v 'module.modulemap.in' \ | grep -v 'CMakeLists.txt' \ | grep -v 'README.txt' \ | grep -v 'libcxx.imp' \ | grep -v '__config_site.in' \ | xargs clang-format -i A Git merge driver is available in libcxx/utils/clang-format-merge-driver.sh to help resolve merge and rebase issues across these formatting changes. [1]: https://discourse.llvm.org/t/rfc-clang-formatting-all-of-libc-once-and-for-all | 2 年前 | |
[libc++] Use __underlying_type directly in underyling_type_t (#135423) This avoids instantiating multiple classes, reducing compile times. This patch also introduces __underyling_type_t for internal use, similar to other type traits. | 1 年前 | |
[libc++] Improve diagnostic when violating std::atomic trivially copyable mandates (#131754) When attempting to instantiate std::atomic with a non trivially copyable type, one gets errors from instantiating internals before the actual static assertion that check the template parameter type requirements. The verify test for it had a // ADDITIONAL_COMPILE_FLAGS: -Xclang -verify-ignore-unexpected=error directive to work around this issue. The changes I propose enable us to drop that directive. As I understand it, the verify test was misplaced so I moved it to test/{std -> libcxx}/atomics. (I ran into this while working on #121414 in which we would add another static assertion in __check_atomic_mandates) | 1 年前 | |
[libc++] Implement C++20 atomic_ref (#76647) Implement the std::atomic_ref class template by reusing atomic_base_impl. Based on the work from https://reviews.llvm.org/D72240 | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 1 年前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 |