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

Update namespace formatting #102

Merged

Conversation

madmiraal
Copy link
Contributor

This is an update to #19 and makes namespace brace wrapping consistent with all other brace wrapping i.e. to not wrap the opening brace.

Specifically, the clang-format BraceWrapping option AfterNamespace is set to false.

Note: The SplitEmptyNamespace option is also set to its default value of true, because it is only used if the opening brace of the namespace has already been wrapped, i.e. when the AfterNamespace brace wrapping mode is set to true.

@madmiraal madmiraal added the PR Type: Enhancement Your current game will work better. label Oct 26, 2024
@DanielaOrtner DanielaOrtner self-requested a review October 26, 2024 16:50
Copy link
Contributor

@DanielaOrtner DanielaOrtner left a comment

Choose a reason for hiding this comment

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

Great, detailed work!! :)

@DanielaOrtner DanielaOrtner merged commit 86addde into RebelToolbox:main Oct 26, 2024
15 checks passed
@madmiraal madmiraal deleted the update-namespace-formatting branch October 28, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR Type: Enhancement Your current game will work better.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants