Skip to content

Commit 747767b

Browse files
author
git apple-llvm automerger
committed
Merge commit '0f622bd281bd' from llvm.org/main into next
2 parents 946a938 + 0f622bd commit 747767b

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

libcxx/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,8 +675,6 @@ if (LIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY AND LIBCXX_ENABLE_SHARED)
675675
endif()
676676

677677
# Assertion flags =============================================================
678-
define_if(LIBCXX_ENABLE_ASSERTIONS -UNDEBUG)
679-
define_if_not(LIBCXX_ENABLE_ASSERTIONS -DNDEBUG)
680678
define_if(LIBCXX_ENABLE_ASSERTIONS -D_LIBCPP_DEBUG=0)
681679
define_if(LIBCXX_DEBUG_BUILD -D_DEBUG)
682680
if (LIBCXX_ENABLE_ASSERTIONS AND NOT LIBCXX_DEBUG_BUILD)

libcxx/benchmarks/algorithms.bench.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ void fillValues(std::vector<std::string>& V, size_t N, Order O) {
151151

152152
template <class T>
153153
void sortValues(T& V, Order O) {
154-
assert(std::is_sorted(V.begin(), V.end()));
155154
switch (O) {
156155
case Order::Random: {
157156
std::random_device R;

0 commit comments

Comments
 (0)