mirror of https://github.com/libsdl-org/SDL.git
I updated .clang-format and ran clang-format 14 over the src and test directories to standardize the code base.
In general I let clang-format have it's way, and added markup to prevent formatting of code that would break or be completely unreadable if formatted.
The script I ran for the src directory is added as build-scripts/clang-format-src.sh
This fixes:
#6592
#6593
#6594
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| SDL_winrtevents.cpp | ||
| SDL_winrtevents_c.h | ||
| SDL_winrtgamebar.cpp | ||
| SDL_winrtgamebar_cpp.h | ||
| SDL_winrtkeyboard.cpp | ||
| SDL_winrtmessagebox.cpp | ||
| SDL_winrtmessagebox.h | ||
| SDL_winrtmouse.cpp | ||
| SDL_winrtmouse_c.h | ||
| SDL_winrtopengles.cpp | ||
| SDL_winrtopengles.h | ||
| SDL_winrtpointerinput.cpp | ||
| SDL_winrtvideo.cpp | ||
| SDL_winrtvideo_cpp.h | ||