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 clang-format to version 14 #1507

Open
lmoureaux opened this issue Nov 19, 2022 · 2 comments
Open

Update clang-format to version 14 #1507

lmoureaux opened this issue Nov 19, 2022 · 2 comments
Labels
enhancement New feature or request tools Issues related to mp, ruledit, etc along with CI and build tools.

Comments

@lmoureaux
Copy link
Contributor

Is your feature request related to a problem? Please describe.

We currently use clang-format-11. It's slowly being phased out by distros. We could reformat the code using a more recent version (Ubuntu 22.04 has 14).

Describe the solution you'd like

Reformat the code using clang-format-14, keeping changes as minimal as possible through configuration, and update the CI to match.

Describe alternatives you've considered

Staying with 11 indefinitely. This will break as we introduce more modern language constructs (C++20…)

Additional context

#1503 and related

@lmoureaux lmoureaux added enhancement New feature or request tools Issues related to mp, ruledit, etc along with CI and build tools. labels Nov 19, 2022
@lmoureaux
Copy link
Contributor Author

Also loosely related to #1198

@lmoureaux
Copy link
Contributor Author

We should do this at a point where backporting patches isn't expected to be frequent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tools Issues related to mp, ruledit, etc along with CI and build tools.
Projects
None yet
Development

No branches or pull requests

1 participant