File tree Expand file tree Collapse file tree 17 files changed +21
-21
lines changed
utils/bazel/llvm-project-overlay/libc Expand file tree Collapse file tree 17 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ add_header_library(
55
55
common
56
56
HDRS
57
57
common.h
58
- endian .h
58
+ endian_internal .h
59
59
macros /properties/architectures.h
60
60
macros /attributes.h
61
61
macros /properties/cpu_features.h
Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
9
9
#include " src/__support/common.h"
10
- #include " src/__support/endian .h"
10
+ #include " src/__support/endian_internal .h"
11
11
#include " src/__support/macros/config.h"
12
12
13
13
namespace LIBC_NAMESPACE_DECL {
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #ifndef LLVM_LIBC_SRC___SUPPORT_ENDIAN_H
10
- #define LLVM_LIBC_SRC___SUPPORT_ENDIAN_H
9
+ #ifndef LLVM_LIBC_SRC___SUPPORT_ENDIAN_INTERNAL_H
10
+ #define LLVM_LIBC_SRC___SUPPORT_ENDIAN_INTERNAL_H
11
11
12
12
#include " common.h"
13
13
#include " src/__support/macros/config.h"
@@ -143,4 +143,4 @@ using Endian = internal::Endian<__BYTE_ORDER__>;
143
143
144
144
} // namespace LIBC_NAMESPACE_DECL
145
145
146
- #endif // LLVM_LIBC_SRC___SUPPORT_ENDIAN_H
146
+ #endif // LLVM_LIBC_SRC___SUPPORT_ENDIAN_INTERNAL_H
Original file line number Diff line number Diff line change 8
8
9
9
#include " src/network/htonl.h"
10
10
#include " src/__support/common.h"
11
- #include " src/__support/endian .h"
11
+ #include " src/__support/endian_internal .h"
12
12
#include " src/__support/macros/config.h"
13
13
14
14
namespace LIBC_NAMESPACE_DECL {
Original file line number Diff line number Diff line change 8
8
9
9
#include " src/network/htons.h"
10
10
#include " src/__support/common.h"
11
- #include " src/__support/endian .h"
11
+ #include " src/__support/endian_internal .h"
12
12
#include " src/__support/macros/config.h"
13
13
14
14
namespace LIBC_NAMESPACE_DECL {
Original file line number Diff line number Diff line change 8
8
9
9
#include " src/network/ntohl.h"
10
10
#include " src/__support/common.h"
11
- #include " src/__support/endian .h"
11
+ #include " src/__support/endian_internal .h"
12
12
#include " src/__support/macros/config.h"
13
13
14
14
namespace LIBC_NAMESPACE_DECL {
Original file line number Diff line number Diff line change 8
8
9
9
#include " src/network/ntohs.h"
10
10
#include " src/__support/common.h"
11
- #include " src/__support/endian .h"
11
+ #include " src/__support/endian_internal .h"
12
12
#include " src/__support/macros/config.h"
13
13
14
14
namespace LIBC_NAMESPACE_DECL {
Original file line number Diff line number Diff line change 26
26
#include " src/__support/CPP/array.h"
27
27
#include " src/__support/CPP/type_traits.h"
28
28
#include " src/__support/common.h"
29
- #include " src/__support/endian .h"
29
+ #include " src/__support/endian_internal .h"
30
30
#include " src/__support/macros/config.h"
31
31
#include " src/__support/macros/optimization.h"
32
32
#include " src/__support/macros/properties/types.h" // LIBC_TYPES_HAS_INT64
Original file line number Diff line number Diff line change 12
12
#include " src/__support/CPP/bit.h"
13
13
#include " src/__support/CPP/cstddef.h"
14
14
#include " src/__support/CPP/type_traits.h"
15
- #include " src/__support/endian .h"
15
+ #include " src/__support/endian_internal .h"
16
16
#include " src/__support/macros/attributes.h" // LIBC_INLINE
17
17
#include " src/__support/macros/config.h"
18
18
#include " src/__support/macros/properties/architectures.h"
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ add_libc_test(
57
57
)
58
58
59
59
add_libc_test (
60
- endian_test
60
+ endian_internal_test
61
61
SUITE
62
62
libc-support-tests
63
63
SRCS
64
- endian_test .cpp
64
+ endian_internal_test .cpp
65
65
DEPENDS
66
66
libc.src.__support.common
67
67
)
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " src/__support/endian .h"
9
+ #include " src/__support/endian_internal .h"
10
10
#include " src/__support/macros/config.h"
11
11
#include " test/UnitTest/Test.h"
12
12
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " src/__support/endian .h"
9
+ #include " src/__support/endian_internal .h"
10
10
#include " src/network/htonl.h"
11
11
#include " src/network/ntohl.h"
12
12
#include " test/UnitTest/Test.h"
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " src/__support/endian .h"
9
+ #include " src/__support/endian_internal .h"
10
10
#include " src/network/htons.h"
11
11
#include " src/network/ntohs.h"
12
12
#include " test/UnitTest/Test.h"
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " src/__support/endian .h"
9
+ #include " src/__support/endian_internal .h"
10
10
#include " src/network/htonl.h"
11
11
#include " src/network/ntohl.h"
12
12
#include " test/UnitTest/Test.h"
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " src/__support/endian .h"
9
+ #include " src/__support/endian_internal .h"
10
10
#include " src/network/htons.h"
11
11
#include " src/network/ntohs.h"
12
12
#include " test/UnitTest/Test.h"
Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ libc_support_library(
425
425
name = "__support_common" ,
426
426
hdrs = [
427
427
"src/__support/common.h" ,
428
- "src/__support/endian .h" ,
428
+ "src/__support/endian_internal .h" ,
429
429
],
430
430
deps = [
431
431
":__support_macros_attributes" ,
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ libc_test(
30
30
# )
31
31
32
32
libc_test (
33
- name = "endian_test " ,
34
- srcs = ["endian_test .cpp" ],
33
+ name = "endian_internal_test " ,
34
+ srcs = ["endian_internal_test .cpp" ],
35
35
deps = ["//libc:__support_common" ],
36
36
)
37
37
You can’t perform that action at this time.
0 commit comments