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

Preserve header blocks when using clang-format #235

Merged
merged 1 commit into from
Jun 4, 2020
Merged

Conversation

G-071
Copy link
Member

@G-071 G-071 commented Jun 2, 2020

The default option of the google style is to regroup the headers with no
regards to any blocks. This is incompatible with our style checking
later in the build process!

This PR fixes this issue by setting the appropriate clang-format option.

The default option of the google style is to regroup the headers with no
regards to any blocks. This is incompatible with our style checking
later in the build process!
@G-071 G-071 requested a review from leiterrl June 2, 2020 16:56
Copy link
Contributor

@freifrauvonbleifrei freifrauvonbleifrei left a comment

Choose a reason for hiding this comment

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

neat little change!

@G-071 G-071 merged commit 202d148 into master Jun 4, 2020
@G-071 G-071 deleted the fix_clang_format branch June 4, 2020 15:20
@leiterrl leiterrl added this to the v3.4.0 milestone Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants