Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc] Group guarded functions in generated headers by their guarding macros. #81208

Open
lntue opened this issue Feb 9, 2024 · 1 comment
Open
Labels

Comments

@lntue
Copy link
Contributor

lntue commented Feb 9, 2024

#81010 introduced guarded functions in generated headers, and the macro checks are generated for each function. Ideally, we should group the functions based on their guarding macros, so that in the generated headers, each guarding macro is only checked once.

@lntue lntue added the libc label Feb 9, 2024
@llvmbot
Copy link
Collaborator

llvmbot commented Feb 9, 2024

@llvm/issue-subscribers-libc

Author: None (lntue)

https://github.com//pull/81010 introduced guarded functions in generated headers, and the macro checks are generated for each function. Ideally, we should group the functions based on their guarding macros, so that in the generated headers, each guarding macro is only checked once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants