Skip to content

Commit c469540

Browse files
[libc][newhdrgen] removing trailing spaces -- yaml (#102043)
Co-authored-by: OverMighty <[email protected]>
1 parent 241349f commit c469540

Some content is hidden

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

47 files changed

+835
-836
lines changed

libc/newhdrgen/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if(LLVM_LIBC_FULL_BUILD)
88
NAME newhdrgen_integration_test
99
COMMAND python3 ${NEWHDGEN_TESTS_DIR}/test_integration.py --output_dir ${TEST_OUTPUT_DIR}
1010
)
11-
11+
1212
add_custom_target(check-newhdrgen
1313
COMMAND ${CMAKE_CTEST_COMMAND} -R newhdrgen_integration_test --output-on-failure
1414
)

libc/newhdrgen/tests/input/test_small.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,37 +21,37 @@ functions:
2121
- name: func_a
2222
return_type: void
2323
arguments: []
24-
standards:
24+
standards:
2525
- stdc
26-
attributes:
26+
attributes:
2727
- CONST_FUNC_A
2828
- name: func_b
2929
return_type: float128
3030
arguments: []
31-
standards:
31+
standards:
3232
- stdc
3333
guard: LIBC_TYPES_HAS_FLOAT128
3434
- name: func_c
3535
return_type: _Float16
3636
arguments:
3737
- type: int
3838
- type: float
39-
standards:
39+
standards:
4040
- stdc
4141
guard: LIBC_TYPES_HAS_FLOAT16
4242
- name: func_d
4343
return_type: _Float16
4444
arguments:
4545
- type: int
4646
- type: float
47-
standards:
47+
standards:
4848
- stdc
4949
guard: LIBC_TYPES_HAS_FLOAT16
5050
- name: func_e
5151
return_type: _Float16
5252
arguments:
5353
- type: float128
54-
standards:
54+
standards:
5555
- stdc
5656
guard: LIBC_TYPES_HAS_FLOAT16_AND_FLOAT128
5757
- name: func_f
@@ -60,7 +60,7 @@ functions:
6060
- type: int
6161
- type: double
6262
- type: float
63-
standards:
63+
standards:
6464
- stdc
6565

6666

libc/newhdrgen/yaml/arpa/inet.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ enums: []
55
objects: []
66
functions:
77
- name: htonl
8-
standards:
8+
standards:
99
- POSIX
1010
return_type: uint32_t
1111
arguments:
1212
- type: uint32_t
1313
- name: htons
14-
standards:
14+
standards:
1515
- POSIX
1616
return_type: uint16_t
1717
arguments:
1818
- type: uint16_t
1919
- name: ntohl
20-
standards:
20+
standards:
2121
- POSIX
2222
return_type: uint32_t
2323
arguments:
2424
- type: uint32_t
2525
- name: ntohs
26-
standards:
26+
standards:
2727
- POSIX
2828
return_type: uint16_t
2929
arguments:

libc/newhdrgen/yaml/assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ types: []
44
enums: []
55
objects: []
66
functions:
7-
- name: __assert_fail
7+
- name: __assert_fail
88
standards:
99
- llvm_libc_ext
1010
return_type: _Noreturn void

libc/newhdrgen/yaml/ctype.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,98 +5,98 @@ enums: []
55
objects: []
66
functions:
77
- name: isalnum
8-
standards:
8+
standards:
99
- stdc
1010
return_type: int
1111
arguments:
1212
- type: int
1313
- name: isalpha
14-
standards:
14+
standards:
1515
- stdc
1616
return_type: int
1717
arguments:
1818
- type: int
1919
- name: isblank
20-
standards:
20+
standards:
2121
- stdc
2222
return_type: int
2323
arguments:
2424
- type: int
2525
- name: iscntrl
26-
standards:
26+
standards:
2727
- stdc
2828
return_type: int
2929
arguments:
3030
- type: int
3131
- name: isdigit
32-
standards:
32+
standards:
3333
- stdc
3434
return_type: int
3535
arguments:
3636
- type: int
3737
- name: isgraph
38-
standards:
38+
standards:
3939
- stdc
4040
return_type: int
4141
arguments:
4242
- type: int
4343
- name: islower
44-
standards:
44+
standards:
4545
- stdc
4646
return_type: int
4747
arguments:
4848
- type: int
4949
- name: isprint
50-
standards:
50+
standards:
5151
- stdc
5252
return_type: int
5353
arguments:
5454
- type: int
5555
- name: ispunct
56-
standards:
56+
standards:
5757
- stdc
5858
return_type: int
5959
arguments:
6060
- type: int
6161
- name: isspace
62-
standards:
62+
standards:
6363
- stdc
6464
return_type: int
6565
arguments:
6666
- type: int
6767
- name: isupper
68-
standards:
68+
standards:
6969
- stdc
7070
return_type: int
7171
arguments:
7272
- type: int
7373
- name: isxdigit
74-
standards:
74+
standards:
7575
- stdc
7676
return_type: int
7777
arguments:
7878
- type: int
7979
- name: tolower
80-
standards:
80+
standards:
8181
- stdc
8282
return_type: int
8383
arguments:
8484
- type: int
8585
- name: toupper
86-
standards:
86+
standards:
8787
- stdc
8888
return_type: int
8989
arguments:
9090
- type: int
9191
functions:
9292
- name: isascii
93-
standards:
93+
standards:
9494
- POSIX
9595
return_type: int
9696
arguments:
9797
- type: int
9898
- name: toascii
99-
standards:
99+
standards:
100100
- GNUExtensions
101101
return_type: int
102102
arguments:

libc/newhdrgen/yaml/dirent.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,38 @@ enums: []
88
objects: []
99
functions:
1010
- name: alphasort
11-
standards:
11+
standards:
1212
- POSIX
1313
return_type: int
1414
arguments:
1515
- type: const struct dirent **
1616
- type: const struct dirent **
1717
- name: closedir
18-
standards:
18+
standards:
1919
- POSIX
2020
return_type: int
2121
arguments:
2222
- type: DIR *
2323
- name: dirfd
24-
standards:
24+
standards:
2525
- POSIX
2626
return_type: int
2727
arguments:
2828
- type: DIR *
2929
- name: fdopendir
30-
standards:
30+
standards:
3131
- POSIX
3232
return_type: DIR *
3333
arguments:
3434
- type: int
3535
- name: opendir
36-
standards:
36+
standards:
3737
- POSIX
3838
return_type: DIR *
3939
arguments:
4040
- type: const char *
4141
- name: readdir
42-
standards:
42+
standards:
4343
- POSIX
4444
return_type: struct dirent *
4545
arguments:

libc/newhdrgen/yaml/errno.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
header: errno.h
2-
standards:
2+
standards:
33
- stdc
44
- Linux
55
- POSIX

libc/newhdrgen/yaml/fcntl.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
header: fcntl.h
22
macros: []
3-
types:
3+
types:
44
- type_name: off_t
55
- type_name: mode_t
66
enums: []
77
objects: []
88
functions:
99
- name: creat
10-
standards:
10+
standards:
1111
- POSIX
1212
return_type: int
1313
arguments:
1414
- type: const char *
1515
- type: mode_t
1616
- name: fcntl
17-
standards:
17+
standards:
1818
- POSIX
1919
return_type: int
2020
arguments:
2121
- type: int
2222
- type: int
2323
- type: ...
2424
- name: open
25-
standards:
25+
standards:
2626
- POSIX
2727
return_type: int
2828
arguments:
2929
- type: const char *
3030
- type: int
3131
- type: ...
3232
- name: openat
33-
standards:
33+
standards:
3434
- POSIX
3535
return_type: int
3636
arguments:

libc/newhdrgen/yaml/features.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
header: features.h
2-
standards:
2+
standards:
33
- stdc
44
macros: []
55
types: []

0 commit comments

Comments
 (0)