[llvm-branch-commits] [libcxx] a73632c - [libc++] Add missing includes of <cstddef>
Tobias Hieta via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Aug 11 23:37:12 PDT 2022
Author: Louis Dionne
Date: 2022-08-12T08:36:00+02:00
New Revision: a73632cff94bc8cc54fd22c00b8b3ee3dedf6d52
URL: https://github.com/llvm/llvm-project/commit/a73632cff94bc8cc54fd22c00b8b3ee3dedf6d52
DIFF: https://github.com/llvm/llvm-project/commit/a73632cff94bc8cc54fd22c00b8b3ee3dedf6d52.diff
LOG: [libc++] Add missing includes of <cstddef>
(cherry picked from commit b1009bbd9e3d5acd85e92cb7f9a1109d2e72967c)
Added:
Modified:
libcxx/include/__iterator/incrementable_traits.h
libcxx/include/__iterator/iterator_traits.h
libcxx/include/__memory/pointer_traits.h
libcxx/include/__ranges/size.h
Removed:
################################################################################
diff --git a/libcxx/include/__iterator/incrementable_traits.h b/libcxx/include/__iterator/incrementable_traits.h
index 4109b58d46a9e..e6a5ed720f9fa 100644
--- a/libcxx/include/__iterator/incrementable_traits.h
+++ b/libcxx/include/__iterator/incrementable_traits.h
@@ -13,6 +13,7 @@
#include <__config>
#include <__type_traits/is_primary_template.h>
#include <concepts>
+#include <cstddef>
#include <type_traits>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/libcxx/include/__iterator/iterator_traits.h b/libcxx/include/__iterator/iterator_traits.h
index 5600a2b2f526a..0cc64adc0de96 100644
--- a/libcxx/include/__iterator/iterator_traits.h
+++ b/libcxx/include/__iterator/iterator_traits.h
@@ -14,6 +14,7 @@
#include <__iterator/incrementable_traits.h>
#include <__iterator/readable_traits.h>
#include <concepts>
+#include <cstddef>
#include <type_traits>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/libcxx/include/__memory/pointer_traits.h b/libcxx/include/__memory/pointer_traits.h
index b9aa5fbf243cb..348f7323a41d5 100644
--- a/libcxx/include/__memory/pointer_traits.h
+++ b/libcxx/include/__memory/pointer_traits.h
@@ -12,6 +12,7 @@
#include <__config>
#include <__memory/addressof.h>
+#include <cstddef>
#include <type_traits>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
diff --git a/libcxx/include/__ranges/size.h b/libcxx/include/__ranges/size.h
index 32ca4b854bc3b..0e6d295651a3c 100644
--- a/libcxx/include/__ranges/size.h
+++ b/libcxx/include/__ranges/size.h
@@ -16,6 +16,7 @@
#include <__ranges/access.h>
#include <__utility/auto_cast.h>
#include <concepts>
+#include <cstddef>
#include <type_traits>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
More information about the llvm-branch-commits
mailing list