Skip to content

Commit

Permalink
More tweaks to clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
kunitoki committed Dec 4, 2024
1 parent 3b026fd commit bbcced0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
Expand Down Expand Up @@ -42,7 +43,6 @@ IndentWrappedFunctionNames: true
IndentPPDirectives: BeforeHash
KeepEmptyLinesAtTheStartOfBlocks: false
LambdaBodyIndentation: Signature
Language: Cpp
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PackConstructorInitializers: Never
Expand Down Expand Up @@ -70,6 +70,7 @@ SpacesInSquareBrackets: false
Standard: "c++17"
TabWidth: 4
UseTab: Never
WhitespaceSensitiveMacros: ['EM_ASM', 'EM_JS', 'EM_ASM_INT', 'EM_ASM_DOUBLE', 'EM_ASM_PTR', 'MAIN_THREAD_EM_ASM', 'MAIN_THREAD_EM_ASM_INT', 'MAIN_THREAD_EM_ASM_DOUBLE', 'MAIN_THREAD_EM_ASM_DOUBLE', 'MAIN_THREAD_ASYNC_EM_ASM']
---
Language: ObjC
BasedOnStyle: Chromium
Expand All @@ -84,3 +85,10 @@ PointerAlignment: Left
SpacesBeforeTrailingComments: 1
TabWidth: 4
UseTab: Never
---
Language: JavaScript
BasedOnStyle: Chromium
ColumnLimit: 0
IndentWidth: 4
TabWidth: 4
UseTab: Never
3 changes: 0 additions & 3 deletions scripts/update_unity_build_files.sh

This file was deleted.

0 comments on commit bbcced0

Please sign in to comment.