Skip to content

[clang] "modular_format" attribute for functions using format strings #147431

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

Draft
wants to merge 1 commit into
base: users/mysterymath/modular-printf/ir
Choose a base branch
from

Conversation

mysterymath
Copy link
Contributor

This provides a C language version of the new IR modular-format attribute. This, in concert with the format attribute, allows a library function to declare that a modular version of its implementation is available.

See issue #146159 for context.

@mysterymath mysterymath requested a review from AaronBallman July 8, 2025 00:02
@mysterymath
Copy link
Contributor Author

mysterymath commented Jul 8, 2025

Sending this out as a draft to obtain some early feedback about the direction of the implemenation of the Modular Printf RFC.

Prev PR: #147429
Next PR: #147426

This provides a C language version of the new IR modular-format
attribute. This, in concert with the format attribute, allows a library
function to declare that a modular version of its implementation is
available.

See issue #146159 for context.
@mysterymath mysterymath force-pushed the users/mysterymath/modular-printf/clang branch from 619dfb7 to e77a856 Compare July 8, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant