Skip to content
Snippets Groups Projects

[Format] Update clang-format to version 18

Merged Niccolò Betto requested to merge clang-format-18 into main

Clang-format has been updated to use version 18.1.8.

Some deprecated options have been updated to the corresponding new ones. Some missing rules were added to fix inconsistencies in the code formatting:

  • Add new line ad EOF and trim additional ones
  • Trim empty lines at beginning of blocks
  • Allow brace-less single line if/else/for/while statements
  • Align pointer/reference to the type

All files have been re-formatted as well.

Edited by Niccolò Betto

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading