[libcxx-commits] [PATCH] D144307: [libc++] Fix header includes in <__atomic/cxx_atomic_impl.h>

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 18 05:23:32 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGb69963eb3f62: [libc++] Fix header includes in <__atomic/cxx_atomic_impl.h> (authored by philnik).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144307/new/

https://reviews.llvm.org/D144307

Files:
  libcxx/include/__atomic/cxx_atomic_impl.h


Index: libcxx/include/__atomic/cxx_atomic_impl.h
===================================================================
--- libcxx/include/__atomic/cxx_atomic_impl.h
+++ libcxx/include/__atomic/cxx_atomic_impl.h
@@ -12,10 +12,12 @@
 #include <__atomic/is_always_lock_free.h>
 #include <__atomic/memory_order.h>
 #include <__config>
+#include <__type_traits/conditional.h>
 #include <__type_traits/is_assignable.h>
 #include <__type_traits/is_trivially_copyable.h>
 #include <__type_traits/remove_const.h>
 #include <cstddef>
+#include <cstring>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #  pragma GCC system_header


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144307.498578.patch
Type: text/x-patch
Size: 624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230218/86f33d35/attachment.bin>


More information about the libcxx-commits mailing list