Skip to content

Commit ad0c7da

Browse files
vonosmasAlexey Samsonov
and
Alexey Samsonov
authored
[libc] Add missing stdc_first_trailing_zero_ to stdbit.yaml (#128101)
These declarations were missing in the generated header. Make sure to add them, otherwise <stdbit.h> inclusion fails, since the subsequently included "stdbit-macros.h" expects these declarations to be present. Co-authored-by: Alexey Samsonov <[email protected]>
1 parent 6bfedfa commit ad0c7da

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

libc/include/stdbit.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,36 @@ functions:
245245
return_type: unsigned int
246246
arguments:
247247
- type: unsigned short
248+
- name: stdc_first_trailing_zero_uc
249+
standards:
250+
- stdc
251+
return_type: unsigned int
252+
arguments:
253+
- type: unsigned char
254+
- name: stdc_first_trailing_zero_ui
255+
standards:
256+
- stdc
257+
return_type: unsigned int
258+
arguments:
259+
- type: unsigned int
260+
- name: stdc_first_trailing_zero_ul
261+
standards:
262+
- stdc
263+
return_type: unsigned int
264+
arguments:
265+
- type: unsigned long
266+
- name: stdc_first_trailing_zero_ull
267+
standards:
268+
- stdc
269+
return_type: unsigned int
270+
arguments:
271+
- type: unsigned long long
272+
- name: stdc_first_trailing_zero_us
273+
standards:
274+
- stdc
275+
return_type: unsigned int
276+
arguments:
277+
- type: unsigned short
248278
- name: stdc_has_single_bit_uc
249279
standards:
250280
- stdc

0 commit comments

Comments
 (0)