master
.clang-format
1Language: Cpp
2BasedOnStyle: LLVM
3AlignAfterOpenBracket: Align
4AlignConsecutiveMacros: false
5AlignConsecutiveAssignments: false
6AlignConsecutiveDeclarations: false
7AlignEscapedNewlines: Right
8AlignOperands: Align
9AlignTrailingComments: true
10AllowAllArgumentsOnNextLine: true
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: false
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
17AlwaysBreakAfterDefinitionReturnType: TopLevel
18AlwaysBreakAfterReturnType: TopLevelDefinitions
19AlwaysBreakBeforeMultilineStrings: false
20BinPackArguments: true
21BinPackParameters: true
22BraceWrapping:
23 AfterCaseLabel: false
24 AfterClass: false
25 AfterControlStatement: Never
26 AfterEnum: false
27 AfterFunction: true
28 AfterNamespace: false
29 AfterObjCDeclaration: false
30 AfterStruct: false
31 AfterUnion: false
32 AfterExternBlock: false
33 BeforeCatch: false
34 BeforeElse: false
35 IndentBraces: false
36 SplitEmptyFunction: true
37 SplitEmptyRecord: true
38 SplitEmptyNamespace: true
39BreakBeforeBinaryOperators: None
40BreakBeforeBraces: Custom
41BreakBeforeTernaryOperators: true
42BreakStringLiterals: true
43ColumnLimit: 80
44ContinuationIndentWidth: 8
45DerivePointerAlignment: false
46DisableFormat: false
47FixNamespaceComments: true
48IncludeBlocks: Preserve
49IncludeCategories:
50 - Regex: '^".*"'
51 Priority: 1
52 - Regex: '^<.*>'
53 Priority: 2
54IndentCaseLabels: false
55IndentPPDirectives: None
56IndentWidth: 8
57IndentWrappedFunctionNames: false
58KeepEmptyLinesAtTheStartOfBlocks: false
59MaxEmptyLinesToKeep: 1
60NamespaceIndentation: None
61PointerAlignment: Right
62ReflowComments: true
63SortIncludes: true
64SortUsingDeclarations: true
65SpaceAfterCStyleCast: false
66SpaceBeforeAssignmentOperators: true
67SpaceBeforeParens: ControlStatements
68SpaceInEmptyParentheses: false
69SpacesBeforeTrailingComments: 1
70SpacesInAngles: false
71SpacesInContainerLiterals: false
72SpacesInCStyleCastParentheses: false
73SpacesInParentheses: false
74SpacesInSquareBrackets: false
75Standard: c++03
76TabWidth: 8
77UseTab: Always