Skip to content

Commit 9a95c09

Browse files
authored
[libc] Remove some unused includes from headers under src/math/generic. (#121632)
These were indicated by Clang include-cleaner.
1 parent ce62515 commit 9a95c09

File tree

5 files changed

+0
-13
lines changed

5 files changed

+0
-13
lines changed

libc/src/math/generic/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,6 @@ add_header_library(
358358
HDRS
359359
sincosf16_utils.h
360360
DEPENDS
361-
libc.src.__support.FPUtil.fp_bits
362361
libc.src.__support.FPUtil.polyeval
363362
libc.src.__support.FPUtil.nearest_integer
364363
libc.src.__support.common
@@ -1702,8 +1701,6 @@ add_header_library(
17021701
libc.src.__support.FPUtil.fenv_impl
17031702
libc.src.__support.FPUtil.fp_bits
17041703
libc.src.__support.FPUtil.multiply_add
1705-
libc.src.__support.FPUtil.nearest_integer
1706-
libc.src.__support.FPUtil.polyeval
17071704
libc.src.__support.FPUtil.rounding_mode
17081705
libc.src.__support.macros.optimization
17091706
libc.src.__support.common

libc/src/math/generic/exp10f_impl.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,9 @@
1010
#define LLVM_LIBC_SRC_MATH_GENERIC_EXP10F_IMPL_H
1111

1212
#include "explogxf.h"
13-
#include "src/__support/FPUtil/BasicOperations.h"
1413
#include "src/__support/FPUtil/FEnvImpl.h"
1514
#include "src/__support/FPUtil/FPBits.h"
16-
#include "src/__support/FPUtil/PolyEval.h"
1715
#include "src/__support/FPUtil/multiply_add.h"
18-
#include "src/__support/FPUtil/nearest_integer.h"
1916
#include "src/__support/FPUtil/rounding_mode.h"
2017
#include "src/__support/common.h"
2118
#include "src/__support/macros/config.h"

libc/src/math/generic/range_reduction_double_common.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#ifndef LLVM_LIBC_SRC_MATH_GENERIC_RANGE_REDUCTION_DOUBLE_COMMON_H
1010
#define LLVM_LIBC_SRC_MATH_GENERIC_RANGE_REDUCTION_DOUBLE_COMMON_H
1111

12-
#include "src/__support/FPUtil/FPBits.h"
1312
#include "src/__support/FPUtil/double_double.h"
1413
#include "src/__support/FPUtil/dyadic_float.h"
1514
#include "src/__support/FPUtil/multiply_add.h"

libc/src/math/generic/sincosf16_utils.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
#ifndef LLVM_LIBC_SRC_MATH_GENERIC_SINCOSF16_UTILS_H
1010
#define LLVM_LIBC_SRC_MATH_GENERIC_SINCOSF16_UTILS_H
1111

12-
#include "src/__support/FPUtil/FPBits.h"
1312
#include "src/__support/FPUtil/PolyEval.h"
14-
#include "src/__support/FPUtil/cast.h"
1513
#include "src/__support/FPUtil/nearest_integer.h"
1614
#include "src/__support/common.h"
1715
#include "src/__support/macros/config.h"

utils/bazel/llvm-project-overlay/libc/BUILD.bazel

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,6 @@ libc_support_library(
17971797
hdrs = ["src/math/generic/sincosf16_utils.h"],
17981798
deps = [
17991799
":__support_common",
1800-
":__support_fputil_fp_bits",
18011800
":__support_fputil_nearest_integer",
18021801
":__support_fputil_polyeval",
18031802
],
@@ -1846,11 +1845,8 @@ libc_support_library(
18461845
name = "exp10f_impl",
18471846
hdrs = ["src/math/generic/exp10f_impl.h"],
18481847
deps = [
1849-
":__support_fputil_basic_operations",
18501848
":__support_fputil_fma",
18511849
":__support_fputil_multiply_add",
1852-
":__support_fputil_nearest_integer",
1853-
":__support_fputil_polyeval",
18541850
":__support_fputil_rounding_mode",
18551851
":__support_macros_optimization",
18561852
":common_constants",

0 commit comments

Comments
 (0)