From c02cd20352bb5aa421968176ec333775c64f5aeb Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 27 May 2022 15:16:02 -0700 Subject: [PATCH] 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. --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index c7eb0a3ff..01d4945e7 100644 --- a/.clang-format +++ b/.clang-format @@ -13,7 +13,7 @@ AllowShortEnumsOnASingleLine: true AllowShortBlocksOnASingleLine: Never AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: All -#AllowShortIfStatementsOnASingleLine: AllIfsAndElse +AllowShortIfStatementsOnASingleLine: AllIfsAndElse AllowShortLoopsOnASingleLine: false AlwaysBreakAfterDefinitionReturnType: All