Skip to content

Conversation

@ravenblackx
Copy link
Contributor

@ravenblackx ravenblackx commented Dec 5, 2025

Commit Message: [Cleanup] Move exception-throwing configs out of headers
Additional Description: There's a block of validation config in tools/code_format/config.yaml which in a comment asserts that there should be no other throws from headers, followed by several headers disobeying that rule. This PR moves two of them that seemed like they fit the "templates" criteria up into to the headers block, removes one that already doesn't contain any throws, and for others moves the functions with throws in them out of the header files into cc files.
Risk Level: Negligible, should be no behavior change.
Testing: No behavior change.
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

@repokitteh-read-only
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #42436 was opened by ravenblackx.

see: more, trace.

@ravenblackx ravenblackx marked this pull request as ready for review December 5, 2025 20:07
@ravenblackx
Copy link
Contributor Author

Assigning wbpcode because this PR was inspired by reviewing #42303

@ravenblackx
Copy link
Contributor Author

/retest

Copy link
Member

@wbpcode wbpcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM to the code change. Please check the CI? May merge main to kick it.

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.

2 participants