Skip to content

Commit d2db527

Browse files
committed
Add some comments
1 parent f09c119 commit d2db527

2 files changed

Lines changed: 13 additions & 30 deletions

File tree

.clang-format

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@ SpaceBeforeCpp11BracedList: false
1010
# Cases inside switches are indented one level
1111
IndentCaseLabels: true
1212

13-
# BinPackArguments: true
14-
# BinPackParameters: true
1513
AlignAfterOpenBracket: AlwaysBreak
16-
# AlignOperands: true
17-
# BreakBeforeTernaryOperators: true
18-
# BreakBeforeBinaryOperators: None
1914

2015
AllowShortBlocksOnASingleLine: false
2116
AllowShortCaseLabelsOnASingleLine: false
@@ -25,29 +20,33 @@ AllowShortIfStatementsOnASingleLine: false
2520
AllowShortLambdasOnASingleLine: false
2621
AllowShortLoopsOnASingleLine: false
2722

28-
# AlignEscapedNewlines: Left
23+
# Otherwise it would align escaped newlines to the column limit
24+
AlignEscapedNewlines: Left
25+
2926
AlignTrailingComments: true
3027
SortIncludes: true
3128

3229
BreakBeforeBraces: Custom
3330
BraceWrapping:
34-
AfterControlStatement: Never
35-
AfterFunction: false
36-
AfterNamespace: false
37-
AfterStruct: false
38-
AfterUnion: false
39-
AfterExternBlock: false
40-
BeforeElse: true
31+
AfterControlStatement: Never
32+
AfterFunction: false
33+
AfterNamespace: false
34+
AfterStruct: false
35+
AfterUnion: false
36+
AfterExternBlock: false
37+
BeforeElse: true
4138

4239
# Adds a comment at the end of the namespace with its name
4340
FixNamespaceComments: true
4441
# Indent namespace's content
4542
NamespaceIndentation: All
4643

47-
# PPIndentWidth: 4
44+
# Aligns preprocessor directives
4845
IndentPPDirectives: AfterHash
4946

47+
# No space between template and <
5048
SpaceAfterTemplateKeyword: false
49+
# Newline after template
5150
AlwaysBreakTemplateDeclarations: Yes
5251

5352
LambdaBodyIndentation: Signature

.vscode/c_cpp_properties.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)