-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.clang-format
More file actions
39 lines (39 loc) · 1.42 KB
/
Copy path.clang-format
File metadata and controls
39 lines (39 loc) · 1.42 KB
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
30
31
32
33
34
35
36
37
38
39
AccessModifierOffset: -4 # -1
AlignAfterOpenBracket: AlwaysBreak
AllowAllArgumentsOnNextLine: false # true
AllowAllConstructorInitializersOnNextLine: false # true
AllowAllParametersOfDeclarationOnNextLine: false # true
AllowShortBlocksOnASingleLine: Empty # Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: false # true
AllowShortFunctionsOnASingleLine: Empty # All
AllowShortIfStatementsOnASingleLine: Never # WithoutElse
AllowShortLoopsOnASingleLine: false # true
AlwaysBreakAfterReturnType: None
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false # true
BinPackParameters: false # true
BasedOnStyle: Google
BreakBeforeBinaryOperators: NonAssignment # None
BreakBeforeBraces: Custom # Attach
BreakConstructorInitializers: BeforeComma # BeforeColon
BreakInheritanceList: AfterColon # BeforeColon
ColumnLimit: 100 # 80
CommentPragmas: "" # "^ IWYU pragma:"
ContinuationIndentWidth: 4
# ConstructorInitializerIndentWidth: 0 # 4
Cpp11BracedListStyle: true
IndentPPDirectives: BeforeHash # None
IndentRequires: true
IndentWidth: 4 # 2
IndentWrappedFunctionNames: true # false
InsertNewlineAtEOF: true # false
NamespaceIndentation: All # None
SpaceAfterTemplateKeyword: false # true
SpaceBeforeCpp11BracedList: true # false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false # false
SpacesInParentheses: false
Standard: Latest # Auto
TabWidth: 4 # 8