llvm-project/libcxx
Louis Dionne f0799465b2 [libc++] Use __builtin_expect and __builtin_assume in _LIBCPP_ASSERT
Since we expect the condition to be true most of the time, we might
as well tell the compiler. And when assertions are disabled, we
might as well tell the compiler that it's allowed to assume that
the condition holds.

Differential Revision: https://reviews.llvm.org/D122397
2022-03-29 11:46:47 -04:00
..
benchmarks [libc++] Don't manually override NDEBUG in the dylib build 2022-03-09 10:05:38 -05:00
cmake [libc++][libc++abi] Serialize the enable_assertions Lit parameter in the generated config 2022-03-29 08:17:25 -04:00
docs [libc++][doc] Update format implementation status. 2022-03-27 17:14:27 +02:00
include [libc++] Use __builtin_expect and __builtin_assume in _LIBCPP_ASSERT 2022-03-29 11:46:47 -04:00
lib [libc++][NFC] Refactor the ABI changelog 2022-03-24 10:24:43 -04:00
src [libcxx] random_device, specify optimal entropy properties for all OS's using arc4random() 2022-03-28 22:43:11 -04:00
test [libc++] Use __builtin_expect and __builtin_assume in _LIBCPP_ASSERT 2022-03-29 11:46:47 -04:00
utils [libc++] Add a lightweight overridable assertion handler 2022-03-23 15:35:46 -04:00
.clang-format [libc++] Update clang-format to C++20. 2021-10-30 12:50:57 +02:00
.clang-tidy [libc++] Enable modernize-loop-convert 2022-03-18 20:34:19 +01:00
.gitignore
CMakeLists.txt [libc++] Add a lightweight overridable assertion handler 2022-03-23 15:35:46 -04:00
CREDITS.TXT Microsoft's floating-point to_chars powered by Ryu and Ryu Printf 2021-12-12 16:34:50 +01:00
LICENSE.TXT
TODO.TXT [libc++] Disallow volatile types in std::allocator 2021-09-22 11:47:38 -04:00
appveyor-reqs-install.cmd
appveyor.yml