[libcxx-commits] [libcxx] [libc++] Include missing <__assert> after #80091 (PR #83480)
Fangrui Song via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 29 13:01:43 PST 2024
https://github.com/MaskRay created https://github.com/llvm/llvm-project/pull/83480
`_LIBCPP_ASSERT_SHIM` used by the -fno-exceptions
LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS=on configuration needs
`_LIBCPP_ASSERT` from `<__assert>`.
>From 2ff8d0cfdfac3716c5b83829e06d477dfeac726a Mon Sep 17 00:00:00 2001
From: Fangrui Song <i at maskray.me>
Date: Thu, 29 Feb 2024 13:01:34 -0800
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.4
---
libcxx/src/new.cpp | 1 +
1 file changed, 1 insertion(+)
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