[libcxx-commits] [libcxx] [libc++][NFC] Remove a few unused includes (PR #107393)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 5 05:26:19 PDT 2024
https://github.com/philnik777 created https://github.com/llvm/llvm-project/pull/107393
None
>From 0c13bb1fd3a9b9b1599eef4f5f6cf5b0d6a304f3 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser <nikolasklauser at berlin.de>
Date: Thu, 5 Sep 2024 14:25:58 +0200
Subject: [PATCH] [libc++][NFC] Remove a few unused includes
---
libcxx/include/__math/copysign.h | 1 -
libcxx/include/__math/remainder.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/libcxx/include/__math/copysign.h b/libcxx/include/__math/copysign.h
index b38690bb581a11..2c3b0dd6f97b70 100644
--- a/libcxx/include/__math/copysign.h
+++ b/libcxx/include/__math/copysign.h
@@ -13,7 +13,6 @@
#include <__type_traits/enable_if.h>
#include <__type_traits/is_arithmetic.h>
#include <__type_traits/promote.h>
-#include <limits>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
diff --git a/libcxx/include/__math/remainder.h b/libcxx/include/__math/remainder.h
index 0fbf0b8ef97b9e..0adb7f3af5de2c 100644
--- a/libcxx/include/__math/remainder.h
+++ b/libcxx/include/__math/remainder.h
@@ -14,7 +14,6 @@
#include <__type_traits/is_arithmetic.h>
#include <__type_traits/is_same.h>
#include <__type_traits/promote.h>
-#include <limits>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
More information about the libcxx-commits
mailing list