Skip to content

WIP: Format the code via clang-format#195

Closed
Maschell wants to merge 1 commit into
devkitPro:masterfrom
Maschell:clang_format
Closed

WIP: Format the code via clang-format#195
Maschell wants to merge 1 commit into
devkitPro:masterfrom
Maschell:clang_format

Conversation

@Maschell
Copy link
Copy Markdown
Contributor

This sis still a WIP and far from perfect. I tried my best to find rules match the existing code, but some things are simply not compatible with clang-format (+ the code across wut has different styles)

Things that are obviously not optimal yet:

  • C++ files
  • e.g. include\swkbd\rpl_interface.h needs some care
  • libraries\wutsocket\wut_socket_common.c
  • clang-format doesn't like the RPLWRAP macro, see include\coreinit/exit.h or include\nsysnet\_netdb.h
  • probably many more weird things

Open for any other config propals

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