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
..
2022-03-17 00:12:33 +01:00
2022-03-05 19:31:46 +01:00
2022-03-17 00:12:33 +01:00
2022-02-23 23:06:26 +01:00
2022-03-07 08:48:50 -05:00
2022-03-17 00:12:33 +01:00
2022-03-05 19:31:46 +01:00
ios
2022-03-05 19:31:46 +01:00
2022-03-18 20:34:19 +01:00
2022-03-17 00:12:33 +01:00
2022-03-17 00:12:33 +01:00
2022-02-16 04:12:22 +01:00
2022-03-17 00:12:33 +01:00
2022-03-17 00:12:33 +01:00
2022-02-23 23:06:26 +01:00
2022-03-17 00:12:33 +01:00
2022-02-23 23:06:26 +01:00
2022-03-17 00:12:33 +01:00
2022-03-17 00:12:33 +01:00
2022-03-07 08:48:50 -05:00