.clang-format


Log

Author Commit Date CI Message
Sam Lantinga b8d85c69 2022-11-30T12:51:59 Update for SDL3 coding style (#6717) 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 5750bcb174300011b91d1de20edb288fcca70f8c)
Sam Lantinga 001d2e2f 2022-05-27T15:29:21 Disable formatting not supported by Visual Studio 2019
Sam Lantinga c02cd203 2022-05-27T15:16:02 Revert "Disable formatting not supported by Visual Studio 2019" This reverts commit 26a75add31c219f0a9368b474b8a0691b937a465. It turns out Visual Studio doesn't support a lot of the formatting used here.
Sam Lantinga 26a75add 2022-05-27T15:15:14 Disable formatting not supported by Visual Studio 2019
Pierre Wendling 973424d9 2022-05-06T12:08:44 Add for-each macros to clang-format.
Pierre Wendling c6a77971 2022-05-05T03:27:47 Add a clang-format config file. tmp