Skip to content

Conversation

@edfams
Copy link
Contributor

@edfams edfams commented Aug 2, 2025

check and format code style with clang-format (i.e. see the .clang-format in root directory)

  • make check-format
  • make format

caleb2h added 3 commits August 2, 2025 10:32
- Add .clang-format configuration with Google style settings
- Format all header and source files according to Google C++ style guide
- 2-space indentation, 80-column limit, sorted includes
- No functional changes, only formatting
Add InsertTrailingCommas: None to ensure empty lines don't contain spaces
- Add 'make format' to format all source files
- Add 'make check-format' to check formatting without modifying
- Add CMake targets 'format' and 'check-format' for same functionality
- Integrated with clang-format using Google C++ style
@edfams edfams changed the title Apply Google C++ code style to all source files Apply Google C++ code style and add clang-format Aug 2, 2025
@edfams edfams merged commit 7c3f7f3 into main Aug 2, 2025
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