[libcxx-commits] [PATCH] D142657: [libc++] Add missing include promote.h in <cmath>
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 30 07:06:59 PST 2023
ldionne updated this revision to Diff 493309.
ldionne added a comment.
Remove superfluous <cstddef> include in promote.h, that should fix CI.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142657/new/
https://reviews.llvm.org/D142657
Files:
libcxx/include/__type_traits/promote.h
libcxx/include/cmath
Index: libcxx/include/cmath
===================================================================
--- libcxx/include/cmath
+++ libcxx/include/cmath
@@ -311,6 +311,7 @@
#include <__type_traits/is_constant_evaluated.h>
#include <__type_traits/is_floating_point.h>
#include <__type_traits/is_same.h>
+#include <__type_traits/promote.h>
#include <__type_traits/remove_cv.h>
#include <version>
Index: libcxx/include/__type_traits/promote.h
===================================================================
--- libcxx/include/__type_traits/promote.h
+++ libcxx/include/__type_traits/promote.h
@@ -13,7 +13,6 @@
#include <__type_traits/integral_constant.h>
#include <__type_traits/is_same.h>
#include <__utility/declval.h>
-#include <cstddef>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142657.493309.patch
Type: text/x-patch
Size: 828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230130/3d4831e2/attachment.bin>
More information about the libcxx-commits
mailing list