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

Move check/panic stuff to be macros #424

Merged
merged 24 commits into from
Dec 10, 2023
Merged

Move check/panic stuff to be macros #424

merged 24 commits into from
Dec 10, 2023

Conversation

danakj
Copy link
Collaborator

@danakj danakj commented Dec 6, 2023

Add doc generation for macros to Subdoc, so that the new check/panic macros are visible in docs.

If a library user wants to use nomerge and not_tail_called, they can
do so through replacing the body of panic() with the macro
SUS_PROVIDE_PANIC_HANDLER().
This allows message construction to be entirely elided in release builds
if desired.
This makes it considered as a private macro.
This makes it considered as a private macro.
This makes it considered as a private macro.
This makes it considered as a private macro.
This makes it considered as a private macro.
This makes them considered as private macros.
This makes them considered as private macros.
This makes it considered as a private macro.
This makes it considered as a private macro.
Instead of our private _sus_trivial_abi macro.
This is the proper case for types.
@danakj danakj added this to the Numerics milestone Dec 10, 2023
@danakj danakj merged commit ecd377a into chromium:main Dec 10, 2023
9 checks passed
@danakj danakj deleted the checks branch December 10, 2023 21:48
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