Skip to content

Commit 1ecf747

Browse files
committed
[libc][math] Fix smoke/ILogbTest.h dependencies
1 parent 6e0e851 commit 1ecf747

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

libc/test/src/math/smoke/CMakeLists.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,7 @@ add_fp_unittest(
13651365
ILogbTest.h
13661366
DEPENDS
13671367
libc.src.math.ilogb
1368-
libc.src.__support.CPP.limits
1368+
libc.src.__support.CPP.algorithm
13691369
libc.src.__support.FPUtil.fp_bits
13701370
libc.src.__support.FPUtil.manipulation_functions
13711371
)
@@ -1380,7 +1380,7 @@ add_fp_unittest(
13801380
ILogbTest.h
13811381
DEPENDS
13821382
libc.src.math.ilogbf
1383-
libc.src.__support.CPP.limits
1383+
libc.src.__support.CPP.algorithm
13841384
libc.src.__support.FPUtil.fp_bits
13851385
libc.src.__support.FPUtil.manipulation_functions
13861386
)
@@ -1395,7 +1395,7 @@ add_fp_unittest(
13951395
ILogbTest.h
13961396
DEPENDS
13971397
libc.src.math.ilogbl
1398-
libc.src.__support.CPP.limits
1398+
libc.src.__support.CPP.algorithm
13991399
libc.src.__support.FPUtil.fp_bits
14001400
libc.src.__support.FPUtil.manipulation_functions
14011401
)
@@ -1410,7 +1410,7 @@ add_fp_unittest(
14101410
ILogbTest.h
14111411
DEPENDS
14121412
libc.src.math.ilogbf16
1413-
libc.src.__support.CPP.limits
1413+
libc.src.__support.CPP.algorithm
14141414
libc.src.__support.FPUtil.fp_bits
14151415
libc.src.__support.FPUtil.manipulation_functions
14161416
)
@@ -1425,7 +1425,7 @@ add_fp_unittest(
14251425
ILogbTest.h
14261426
DEPENDS
14271427
libc.src.math.ilogbf128
1428-
libc.src.__support.CPP.limits
1428+
libc.src.__support.CPP.algorithm
14291429
libc.src.__support.FPUtil.fp_bits
14301430
libc.src.__support.FPUtil.manipulation_functions
14311431
)
@@ -1440,7 +1440,7 @@ add_fp_unittest(
14401440
ILogbTest.h
14411441
DEPENDS
14421442
libc.src.math.llogb
1443-
libc.src.__support.CPP.limits
1443+
libc.src.__support.CPP.algorithm
14441444
libc.src.__support.FPUtil.fp_bits
14451445
libc.src.__support.FPUtil.manipulation_functions
14461446
)
@@ -1455,7 +1455,7 @@ add_fp_unittest(
14551455
ILogbTest.h
14561456
DEPENDS
14571457
libc.src.math.llogbf
1458-
libc.src.__support.CPP.limits
1458+
libc.src.__support.CPP.algorithm
14591459
libc.src.__support.FPUtil.fp_bits
14601460
libc.src.__support.FPUtil.manipulation_functions
14611461
)
@@ -1470,7 +1470,7 @@ add_fp_unittest(
14701470
ILogbTest.h
14711471
DEPENDS
14721472
libc.src.math.llogbl
1473-
libc.src.__support.CPP.limits
1473+
libc.src.__support.CPP.algorithm
14741474
libc.src.__support.FPUtil.fp_bits
14751475
libc.src.__support.FPUtil.manipulation_functions
14761476
)
@@ -1485,7 +1485,7 @@ add_fp_unittest(
14851485
ILogbTest.h
14861486
DEPENDS
14871487
libc.src.math.llogbf16
1488-
libc.src.__support.CPP.limits
1488+
libc.src.__support.CPP.algorithm
14891489
libc.src.__support.FPUtil.fp_bits
14901490
libc.src.__support.FPUtil.manipulation_functions
14911491
)
@@ -1500,7 +1500,7 @@ add_fp_unittest(
15001500
ILogbTest.h
15011501
DEPENDS
15021502
libc.src.math.llogbf128
1503-
libc.src.__support.CPP.limits
1503+
libc.src.__support.CPP.algorithm
15041504
libc.src.__support.FPUtil.fp_bits
15051505
libc.src.__support.FPUtil.manipulation_functions
15061506
)

libc/test/src/math/smoke/ILogbTest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#ifndef LLVM_LIBC_TEST_SRC_MATH_ILOGBTEST_H
1010
#define LLVM_LIBC_TEST_SRC_MATH_ILOGBTEST_H
1111

12-
#include "src/__support/CPP/limits.h" // INT_MAX
12+
#include "src/__support/CPP/algorithm.h"
1313
#include "src/__support/FPUtil/FPBits.h"
1414
#include "src/__support/FPUtil/ManipulationFunctions.h"
1515
#include "test/UnitTest/FEnvSafeTest.h"

0 commit comments

Comments
 (0)