[libcxx-commits] [libcxx] DO_NOT_SUBMIT (PR #90253)

Vitaly Buka via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 26 16:44:35 PDT 2024


https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/90253

>From 80984d15e67230d93eb29b0b25da64f44f6eaf5b Mon Sep 17 00:00:00 2001
From: Vitaly Buka <vitalybuka at google.com>
Date: Fri, 26 Apr 2024 12:36:08 -0700
Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
 =?UTF-8?q?itial=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Created using spr 1.3.4
---
 libcxx/include/__utility/no_destroy.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libcxx/include/__utility/no_destroy.h b/libcxx/include/__utility/no_destroy.h
index f9c1eb7bed4569..90571707aaeffd 100644
--- a/libcxx/include/__utility/no_destroy.h
+++ b/libcxx/include/__utility/no_destroy.h
@@ -6,6 +6,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+// DO_NOT_SUBMIT
 #ifndef _LIBCPP___UTILITY_NO_DESTROY_H
 #define _LIBCPP___UTILITY_NO_DESTROY_H
 

>From 9487fae9143b8bc553f217bdf5172909ae6e3efd Mon Sep 17 00:00:00 2001
From: Vitaly Buka <vitalybuka at google.com>
Date: Fri, 26 Apr 2024 16:44:28 -0700
Subject: [PATCH 2/2] Update no_destroy.h

---
 libcxx/include/__utility/no_destroy.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libcxx/include/__utility/no_destroy.h b/libcxx/include/__utility/no_destroy.h
index 90571707aaeffd..0519f2921251b1 100644
--- a/libcxx/include/__utility/no_destroy.h
+++ b/libcxx/include/__utility/no_destroy.h
@@ -13,6 +13,7 @@
 #include <__config>
 #include <__type_traits/is_constant_evaluated.h>
 #include <__utility/forward.h>
+#include <new>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header



More information about the libcxx-commits mailing list