forked from systems-nuts/CoSense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
29 lines (29 loc) · 832 Bytes
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Run the following command to reformat a file:
# clang-format -i -style=Google <file>
# Or use clang-format-diff to only reformat the changed lines:
# https://clang.llvm.org/docs/ClangFormat.html
BasedOnStyle: Google
SortIncludes: false
TabWidth: 8
IndentWidth: 8
UseTab: Always
AlignConsecutiveDeclarations: true
DerivePointerAlignment: false
SpaceAroundPointerQualifiers: Default
PointerAlignment: Middle
AlwaysBreakAfterDefinitionReturnType: All
AllowShortIfStatementsOnASingleLine: false
IndentCaseLabels: true
ColumnLimit: 0
AccessModifierOffset: 0
BreakBeforeBraces: Custom
BraceWrapping:
AfterExternBlock: false
IndentBraces: false
AfterCaseLabel: true
AfterControlStatement: Always
AfterFunction: true
AfterNamespace: true
BeforeElse: true
AlignConsecutiveAssignments: Consecutive
AlignTrailingComments: true