[libcxx-commits] [libcxx] 8157847 - [libc++] Include missing <__assert> after #80091 (#83480)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 29 13:06:02 PST 2024
Author: Fangrui Song
Date: 2024-02-29T16:05:59-05:00
New Revision: 81578477645b7f2e97744d53a4cea962872925b0
URL: https://github.com/llvm/llvm-project/commit/81578477645b7f2e97744d53a4cea962872925b0
DIFF: https://github.com/llvm/llvm-project/commit/81578477645b7f2e97744d53a4cea962872925b0.diff
LOG: [libc++] Include missing <__assert> after #80091 (#83480)
_LIBCPP_ASSERT_SHIM used by the -fno-exceptions and
LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS=on configuration
needs _LIBCPP_ASSERT from <__assert>.
Added:
Modified:
libcxx/src/new.cpp
Removed:
################################################################################
diff --git a/libcxx/src/new.cpp b/libcxx/src/new.cpp
index 0869d90661dd51..b0c731678cac30 100644
--- a/libcxx/src/new.cpp
+++ b/libcxx/src/new.cpp
@@ -7,6 +7,7 @@
//===----------------------------------------------------------------------===//
#include "include/overridable_function.h"
+#include <__assert>
#include <__memory/aligned_alloc.h>
#include <cstddef>
#include <cstdlib>
More information about the libcxx-commits
mailing list