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

format,ci: update clang-format to clang16 #3722

Merged
merged 5 commits into from
Jul 31, 2023

Conversation

vicentebolea
Copy link
Collaborator

@vicentebolea vicentebolea commented Jul 28, 2023

  • Updated clang-format to clang-format 16
  • Change C/CXX source file max chars per line from 80 to 100 (@pnorbert, @eisenhauer)
  • Also updated flake8
  • Added script to format your code in your local machine invoking docker internally: scripts/developer/run-clang-format.sh
  • Disabled WriteRead*MissingPerformGets` tests since they were disabled before this big refactoring but after running clang-format they got re-enabled as the gtest TEST_F does not work if its expanded in a multi-line invocation as it was before this PR. This needs to be resolved.

eisenhauer
eisenhauer previously approved these changes Jul 28, 2023
@vicentebolea
Copy link
Collaborator Author

  • Disabled WriteRead*MissingPerformGets` tests since they were disabled before this big refactoring but after running clang-format they got re-enabled as the gtest TEST_F does not work if its expanded in a multi-line invocation as it was before this PR. This needs to be resolved.

@vicentebolea vicentebolea merged commit d29e89c into ornladios:master Jul 31, 2023
25 checks passed
@vicentebolea vicentebolea deleted the fix-clang-format branch July 31, 2023 18:53
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