Skip to content

Commit 1253b82

Browse files
committed
Fix clang-format
1 parent 2f9976c commit 1253b82

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

.clang-format

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ AccessModifierOffset: -1
55
AlignAfterOpenBracket: Align
66
AlignConsecutiveMacros: false
77
AlignConsecutiveAssignments: false
8-
AlignConsecutiveBitFields: false
98
AlignConsecutiveDeclarations: false
109
AlignEscapedNewlines: Left
11-
AlignOperands: Align
10+
AlignOperands: true
1211
AlignTrailingComments: true
1312
AllowAllArgumentsOnNextLine: true
1413
AllowAllConstructorInitializersOnNextLine: true
1514
AllowAllParametersOfDeclarationOnNextLine: true
16-
AllowShortEnumsOnASingleLine: true
1715
AllowShortBlocksOnASingleLine: Never
1816
AllowShortCaseLabelsOnASingleLine: false
1917
AllowShortFunctionsOnASingleLine: All
@@ -29,7 +27,7 @@ BinPackParameters: true
2927
BraceWrapping:
3028
AfterCaseLabel: false
3129
AfterClass: false
32-
AfterControlStatement: Never
30+
AfterControlStatement: false
3331
AfterEnum: false
3432
AfterFunction: false
3533
AfterNamespace: false
@@ -39,8 +37,6 @@ BraceWrapping:
3937
AfterExternBlock: false
4038
BeforeCatch: false
4139
BeforeElse: false
42-
BeforeLambdaBody: false
43-
BeforeWhile: false
4440
IndentBraces: false
4541
SplitEmptyFunction: true
4642
SplitEmptyRecord: true
@@ -87,13 +83,10 @@ IncludeCategories:
8783
IncludeIsMainRegex: '([-_](test|unittest))?$'
8884
IncludeIsMainSourceRegex: ''
8985
IndentCaseLabels: true
90-
IndentCaseBlocks: false
9186
IndentGotoLabels: true
9287
IndentPPDirectives: None
93-
IndentExternBlock: AfterExternBlock
9488
IndentWidth: 2
9589
IndentWrappedFunctionNames: false
96-
InsertTrailingCommas: None
9790
JavaScriptQuotes: Leave
9891
JavaScriptWrapImports: true
9992
KeepEmptyLinesAtTheStartOfBlocks: false
@@ -103,7 +96,6 @@ MaxEmptyLinesToKeep: 1
10396
NamespaceIndentation: None
10497
ObjCBinPackProtocolList: Never
10598
ObjCBlockIndentWidth: 2
106-
ObjCBreakBeforeNestedBlockParam: true
10799
ObjCSpaceAfterProperty: false
108100
ObjCSpaceBeforeProtocolList: true
109101
PenaltyBreakAssignment: 2
@@ -141,8 +133,6 @@ RawStringFormats:
141133
- PARSE_TEXT_PROTO
142134
- ParseTextOrDie
143135
- ParseTextProtoOrDie
144-
- ParseTestProto
145-
- ParsePartialTestProto
146136
CanonicalDelimiter: ''
147137
BasedOnStyle: google
148138
ReflowComments: true
@@ -174,8 +164,5 @@ StatementMacros:
174164
TabWidth: 8
175165
UseCRLF: false
176166
UseTab: Never
177-
WhitespaceSensitiveMacros:
178-
- STRINGIZE
179-
- PP_STRINGIZE
180-
- BOOST_PP_STRINGIZE
181167
...
168+

src/Game.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void Game::render() {
8686
ImGui::End();
8787
}
8888

89-
ImGui::SFML::Render(* window_);
89+
ImGui::SFML::Render(*window_);
9090
window_->display();
9191
}
9292

0 commit comments

Comments
 (0)