소스 검색

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 2 년 전
부모
커밋
c02cd20352
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .clang-format

+ 1 - 1
.clang-format

@@ -13,7 +13,7 @@ AllowShortEnumsOnASingleLine: true
 AllowShortBlocksOnASingleLine: Never
 AllowShortCaseLabelsOnASingleLine: false
 AllowShortFunctionsOnASingleLine: All
-#AllowShortIfStatementsOnASingleLine: AllIfsAndElse
+AllowShortIfStatementsOnASingleLine: AllIfsAndElse
 AllowShortLoopsOnASingleLine: false
 
 AlwaysBreakAfterDefinitionReturnType: All