Skip to content

Conversation

@andyundso
Copy link
Member

Closes #565.

This PR introduces a new code formatter for the C and header files. I played around with clang-format, but this gives weird results no matter the configuration with these preprocessor statements (long line lengths with macros, unable to align ifdef with the code). Artistic style is also not perfect as I do not like having the opening brace for a function on a separate line, but this is really the only complaint.

I added a new task to the Rakefile to invoke both formatters at once.

@andyundso andyundso merged commit 9955437 into rails-sqlserver:master Jun 4, 2025
115 checks passed
@andyundso andyundso deleted the introduce-c-formatter branch June 4, 2025 20:24
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.

Add a code formatter for the C code

1 participant