Skip to content

Commit 6e0aa2c

Browse files
committed
updated clangformat
1 parent b8520c7 commit 6e0aa2c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ end_of_line = crlf
88
charset = latin1
99

1010
[*.cpp]
11-
indent_style = tab
11+
indent_style = space
1212
indent_size = 4
1313

1414
[*.h]
15-
indent_style = tab
15+
indent_style = space
1616
indent_size = 4
1717

1818
[*.rc]

_clang-format

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ AlignConsecutiveAssignments: false
55
AlignConsecutiveDeclarations: false
66
AlignEscapedNewlinesLeft: false
77
AlignOperands: true
8-
AlignTrailingComments: false
8+
AlignTrailingComments: true
99
AllowAllParametersOfDeclarationOnNextLine: false
1010
AllowShortBlocksOnASingleLine: false
1111
AllowShortCaseLabelsOnASingleLine: true
@@ -48,8 +48,8 @@ IndentCaseLabels: false
4848
IndentWidth: 4
4949
IndentWrappedFunctionNames: true
5050
KeepEmptyLinesAtTheStartOfBlocks: false
51-
MacroBlockBegin: '^BEGIN_MSG_MAP|^BEGIN_UPDATE_UI_MAP|^BEGIN_COM_MAP'
52-
MacroBlockEnd: '^END_MSG_MAP|^END_UPDATE_UI_MAP|^END_COM_MAP'
51+
MacroBlockBegin: '^BEGIN_MSG_MAP|^BEGIN_UPDATE_UI_MAP|^BEGIN_COM_MAP|^BEGIN_DLGRESIZE_MAP'
52+
MacroBlockEnd: '^END_MSG_MAP|^END_UPDATE_UI_MAP|^END_COM_MAP|^END_DLGRESIZE_MAP'
5353
MaxEmptyLinesToKeep: 2
5454
NamespaceIndentation: None
5555
PenaltyBreakBeforeFirstCallParameter: 100
@@ -73,4 +73,4 @@ SpacesInParentheses: false
7373
SpacesInSquareBrackets: false
7474
Standard: Cpp11
7575
TabWidth: 4
76-
UseTab: Always
76+
UseTab: Never

0 commit comments

Comments
 (0)