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 and format most files #4

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

AngheloAlf
Copy link
Collaborator

I tried to mimic the already existing style, but some parts were kinda inconsistent so I tried to do what I could.

I did not commit some formatted files because clang format kinda messed too much with them. Those files are:

  • config.cpp and recomp_input.h. clang format really doesn't like the NLOHMANN_JSON_SERIALIZE_ENUM macro
  • recomp.h. Messes with multine macros and the recomp_context struct.
  • euc-jp.cpp, rsp_vu.h and rsp_vu_impl.h. Those files come from other places so I thought it would be better to left them untouched.

I did not add a clang tidy file yet because currently the repo doesn't build yet.

Feel free to be as nitpicky as you want.

@AngheloAlf AngheloAlf force-pushed the clang-format-file branch from 681b02c to 04e3229 Compare May 23, 2024 02:24
@AngheloAlf
Copy link
Collaborator Author

Closes #10

@AngheloAlf AngheloAlf linked an issue May 23, 2024 that may be closed by this pull request
@AngheloAlf AngheloAlf force-pushed the clang-format-file branch 2 times, most recently from c69f43c to ffc02dd Compare June 1, 2024 14:19
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.

clang-format
1 participant