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

Fix tabs in multi-line comments #1619

Merged
merged 4 commits into from
Feb 13, 2024

Conversation

heinezen
Copy link
Member

@heinezen heinezen commented Feb 4, 2024

Changes clang-format settings to

  • AlignTrailingComments: true
  • ReflowComments: true

This should solve my inconsistent tab usage in docstrings.

I also reformatted the whole codebase, so everything should conform to the clang-format rules now. 99% of changes in this PR are the tab issues, the others are for files that were not formatted with the clang-format rules before. In some situations I turned clang-format off for better readability, e.g. when an array is used as a 2-dimensional matrix.

@heinezen heinezen added lang: c++ Done in C++ code code quality Does not alter behavior, but beauty of our code labels Feb 4, 2024
@heinezen heinezen force-pushed the fix/clang_format_comments branch from af9a8bb to 2402b6d Compare February 4, 2024 20:05
Copy link
Member

@TheJJ TheJJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naise

@TheJJ TheJJ merged commit 35e2b0a into SFTtech:master Feb 13, 2024
13 checks passed
@heinezen heinezen deleted the fix/clang_format_comments branch February 22, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Does not alter behavior, but beauty of our code lang: c++ Done in C++ code
Projects
Development

Successfully merging this pull request may close these issues.

2 participants