Skip to content

Commit 49c3bf1

Browse files
committed
[libc] Remove some unused includes from headers under src/math/generic.
These were indicated by Clang include-cleaner.
1 parent b7637a8 commit 49c3bf1

File tree

6 files changed

+0
-16
lines changed

6 files changed

+0
-16
lines changed

libc/src/math/generic/CMakeLists.txt

Lines changed: 0 additions & 4 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
@@ -4383,7 +4380,6 @@ add_object_library(
43834380
libc.src.__support.CPP.optional
43844381
libc.src.__support.FPUtil.basic_operations
43854382
libc.src.__support.FPUtil.basic_operations
4386-
libc.src.__support.FPUtil.fenv_impl
43874383
libc.src.__support.FPUtil.fp_bits
43884384
libc.src.__support.FPUtil.multiply_add
43894385
libc.src.__support.FPUtil.nearest_integer

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/explogxf.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include "common_constants.h"
1313
#include "src/__support/CPP/bit.h"
1414
#include "src/__support/CPP/optional.h"
15-
#include "src/__support/FPUtil/FEnvImpl.h"
1615
#include "src/__support/FPUtil/FPBits.h"
1716
#include "src/__support/FPUtil/PolyEval.h"
1817
#include "src/__support/FPUtil/nearest_integer.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 & 5 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
],
@@ -1809,7 +1808,6 @@ libc_support_library(
18091808
hdrs = ["src/math/generic/explogxf.h"],
18101809
deps = [
18111810
":__support_common",
1812-
":__support_fputil_fenv_impl",
18131811
":__support_fputil_fma",
18141812
":__support_fputil_fp_bits",
18151813
":__support_fputil_multiply_add",
@@ -1846,11 +1844,8 @@ libc_support_library(
18461844
name = "exp10f_impl",
18471845
hdrs = ["src/math/generic/exp10f_impl.h"],
18481846
deps = [
1849-
":__support_fputil_basic_operations",
18501847
":__support_fputil_fma",
18511848
":__support_fputil_multiply_add",
1852-
":__support_fputil_nearest_integer",
1853-
":__support_fputil_polyeval",
18541849
":__support_fputil_rounding_mode",
18551850
":__support_macros_optimization",
18561851
":common_constants",

0 commit comments

Comments
 (0)