[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 <samsonov@google.com>
This commit is contained in:
Alexey Samsonov 2025-02-21 08:24:59 -08:00 committed by GitHub
parent 6bfedfa0ba
commit ad0c7da953
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -245,6 +245,36 @@ functions:
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_first_trailing_zero_uc
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned char
- name: stdc_first_trailing_zero_ui
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned int
- name: stdc_first_trailing_zero_ul
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long
- name: stdc_first_trailing_zero_ull
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned long long
- name: stdc_first_trailing_zero_us
standards:
- stdc
return_type: unsigned int
arguments:
- type: unsigned short
- name: stdc_has_single_bit_uc
standards:
- stdc