Skip to content

Commit 09efe84

Browse files
authored
[libc][NFC] Rename UInt.h to big_int.h and UInt128.h to uint128.h for consistency (#87808)
1 parent a522dbb commit 09efe84

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+68
-68
lines changed

libc/fuzzing/__support/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ add_libc_fuzzer(
33
SRCS
44
uint_fuzz.cpp
55
DEPENDS
6-
libc.src.__support.uint
6+
libc.src.__support.big_int
77
)

libc/fuzzing/__support/uint_fuzz.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "src/__support/CPP/bit.h"
2-
#include "src/__support/UInt.h"
2+
#include "src/__support/big_int.h"
33
#include "src/string/memory_utils/inline_memcpy.h"
44

55
using namespace LIBC_NAMESPACE;

libc/src/__support/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ add_header_library(
104104
HDRS
105105
integer_to_string.h
106106
DEPENDS
107-
.uint
107+
.big_int
108108
libc.src.__support.common
109109
libc.src.__support.CPP.algorithm
110110
libc.src.__support.CPP.limits
@@ -204,9 +204,9 @@ add_header_library(
204204
)
205205

206206
add_header_library(
207-
uint
207+
big_int
208208
HDRS
209-
UInt.h
209+
big_int.h
210210
DEPENDS
211211
.math_extras
212212
.number_pair
@@ -220,9 +220,9 @@ add_header_library(
220220
add_header_library(
221221
uint128
222222
HDRS
223-
UInt128.h
223+
uint128.h
224224
DEPENDS
225-
.uint
225+
.big_int
226226
libc.src.__support.macros.properties.types
227227
)
228228

libc/src/__support/FPUtil/BasicOperations.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
#include "FEnvImpl.h"
1616
#include "src/__support/CPP/type_traits.h"
17-
#include "src/__support/UInt128.h"
1817
#include "src/__support/common.h"
1918
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
19+
#include "src/__support/uint128.h"
2020

2121
namespace LIBC_NAMESPACE {
2222
namespace fputil {

libc/src/__support/FPUtil/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ add_header_library(
200200
DEPENDS
201201
.fp_bits
202202
.multiply_add
203+
libc.src.__support.big_int
203204
libc.src.__support.common
204-
libc.src.__support.uint
205205
libc.src.__support.macros.optimization
206206
)
207207

libc/src/__support/FPUtil/FPBits.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
#include "src/__support/CPP/bit.h"
1313
#include "src/__support/CPP/type_traits.h"
14-
#include "src/__support/UInt128.h"
1514
#include "src/__support/common.h"
1615
#include "src/__support/libc_assert.h" // LIBC_ASSERT
1716
#include "src/__support/macros/attributes.h" // LIBC_INLINE, LIBC_INLINE_VAR
1817
#include "src/__support/macros/properties/types.h" // LIBC_TYPES_HAS_FLOAT128
1918
#include "src/__support/math_extras.h" // mask_trailing_ones
2019
#include "src/__support/sign.h" // Sign
20+
#include "src/__support/uint128.h"
2121

2222
#include <stdint.h>
2323

libc/src/__support/FPUtil/Hypot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#include "rounding_mode.h"
1616
#include "src/__support/CPP/bit.h"
1717
#include "src/__support/CPP/type_traits.h"
18-
#include "src/__support/UInt128.h"
1918
#include "src/__support/common.h"
19+
#include "src/__support/uint128.h"
2020

2121
namespace LIBC_NAMESPACE {
2222
namespace fputil {

libc/src/__support/FPUtil/dyadic_float.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "FPBits.h"
1313
#include "multiply_add.h"
1414
#include "src/__support/CPP/type_traits.h"
15-
#include "src/__support/UInt.h"
15+
#include "src/__support/big_int.h"
1616
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
1717

1818
#include <stddef.h>

libc/src/__support/FPUtil/generic/FMA.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
#include "src/__support/FPUtil/FEnvImpl.h"
1515
#include "src/__support/FPUtil/FPBits.h"
1616
#include "src/__support/FPUtil/rounding_mode.h"
17-
#include "src/__support/UInt128.h"
1817
#include "src/__support/macros/attributes.h" // LIBC_INLINE
1918
#include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
19+
#include "src/__support/uint128.h"
2020

2121
namespace LIBC_NAMESPACE {
2222
namespace fputil {

libc/src/__support/FPUtil/generic/sqrt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#include "src/__support/FPUtil/FEnvImpl.h"
1616
#include "src/__support/FPUtil/FPBits.h"
1717
#include "src/__support/FPUtil/rounding_mode.h"
18-
#include "src/__support/UInt128.h"
1918
#include "src/__support/common.h"
19+
#include "src/__support/uint128.h"
2020

2121
namespace LIBC_NAMESPACE {
2222
namespace fputil {

0 commit comments

Comments
 (0)