| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc++][hardening][NFC] Introduce _LIBCPP_ASSERT_UNCATEGORIZED. Replace most uses of _LIBCPP_ASSERT with _LIBCPP_ASSERT_UNCATEGORIZED. This is done as a prerequisite to introducing hardened mode to libc++. The idea is to make enabling assertions an opt-in with (somewhat) fine-grained controls over which categories of assertions are enabled. The vast majority of assertions are currently uncategorized; the new macro will allow turning on _LIBCPP_ASSERT (the underlying mechanism for all kinds of assertions) without enabling all the uncategorized assertions (in the future; this patch preserves the current behavior). Differential Revision: https://reviews.llvm.org/D153816 | 3 年前 | |
[libc++] Move the definition of std::new_handler out of new.cpp This reduces the difference between libc++'s new.cpp and libc++abi's stdlib_new_delete.cpp files, which are essentially copies of each other. Differential Revision: https://reviews.llvm.org/D152956 | 3 年前 | |
[libc++] Make bsd_locale_fallbacks.h modular and move it into __locale/locale_base_api/ This is a first step towards granularizing <locale>. Reviewed By: ldionne, #libc Spies: arichardson, libcxx-commits, mikhail.ramalho Differential Revision: https://reviews.llvm.org/D146397 | 3 年前 |