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

Add .clang-format file to repository #33

Open
Arsenic-ATG opened this issue Sep 6, 2022 · 0 comments
Open

Add .clang-format file to repository #33

Arsenic-ATG opened this issue Sep 6, 2022 · 0 comments
Labels
good first issue Good for newcomers Priority: LOW It can be resolved in a future major system revision or not be resolved at all

Comments

@Arsenic-ATG
Copy link
Owner

The code base uses GNU coding convention, most of which can easily be enforced using clang-format, the project should contain a .clang-format containing the clang format's configuration for GNU coding style.

fortunately clang format supports GNU coding standards as one of it's presets so we can simply use clang format to generate that file for us using a command like this :

$ clang-format -style=gnu -dump-config > .clang-format
@Arsenic-ATG Arsenic-ATG added good first issue Good for newcomers Priority: LOW It can be resolved in a future major system revision or not be resolved at all labels Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Priority: LOW It can be resolved in a future major system revision or not be resolved at all
Projects
None yet
Development

No branches or pull requests

1 participant