.clang-format 1.71 KB
Newer Older
1
---
2 3 4 5
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: 'true'
AlignEscapedNewlines: Left
AlignOperands: 'true'
6
AlignTrailingComments: 'true'
7
AllowAllParametersOfDeclarationOnNextLine: 'true'
8
AllowShortBlocksOnASingleLine: 'true'
9 10
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortFunctionsOnASingleLine: Empty
11 12
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'false'
13 14
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: 'false'
15
AlwaysBreakTemplateDeclarations: 'true'
16 17 18 19 20 21
BinPackArguments: 'true'
BinPackParameters: 'true'
BreakAfterJavaFieldAnnotations: 'true'
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Linux
BreakBeforeInheritanceComma: 'false'
22
BreakBeforeTernaryOperators: 'true'
23 24
BreakConstructorInitializers: BeforeColon
BreakStringLiterals: 'true'
25
ColumnLimit: '80'
26 27
CompactNamespaces: 'false'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
28
Cpp11BracedListStyle: 'true'
29 30
FixNamespaceComments: 'true'
IncludeBlocks: Regroup
31
IndentCaseLabels: 'false'
32 33 34 35
IndentPPDirectives: AfterHash
IndentWrappedFunctionNames: 'false'
JavaScriptQuotes: Leave
JavaScriptWrapImports: 'true'
36 37
KeepEmptyLinesAtTheStartOfBlocks: 'false'
Language: Cpp
38 39 40 41 42 43 44 45
MaxEmptyLinesToKeep: '1'
NamespaceIndentation: Inner
PointerAlignment: Right
ReflowComments: 'true'
SortIncludes: 'true'
SortUsingDeclarations: 'true'
SpaceAfterCStyleCast: 'false'
SpaceAfterTemplateKeyword: 'false'
46 47 48
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: 'false'
49
SpacesBeforeTrailingComments: '2'
50 51
SpacesInAngles: 'false'
SpacesInCStyleCastParentheses: 'false'
52
SpacesInContainerLiterals: 'false'
53
SpacesInParentheses: 'false'
54
SpacesInSquareBrackets: 'false'
55 56 57 58
Standard: Cpp11
UseTab: ForIndentation

...