/ src / .clang-format
.clang-format
 1  
 2  AccessModifierOffset: -4
 3  AlignAfterOpenBracket: Align
 4  #AllowAllArgumentsOnNextLine: false
 5  AlignConsecutiveAssignments: false
 6  AlignConsecutiveDeclarations: false
 7  #AllowAllConstructorInitializersOnNextLine: false
 8  AlignEscapedNewlines: Left
 9  AlignOperands: true
10  AlignTrailingComments: false
11  AllowAllParametersOfDeclarationOnNextLine: false
12  AllowShortFunctionsOnASingleLine: Inline
13  AllowShortCaseLabelsOnASingleLine: false
14  AllowShortIfStatementsOnASingleLine: false
15  #AllowShortLambdasOnASingleLine: Inline
16  AllowShortLoopsOnASingleLine: false
17  AlwaysBreakAfterReturnType: None
18  AlwaysBreakBeforeMultilineStrings: false
19  AlwaysBreakTemplateDeclarations: Yes
20  BinPackArguments: false
21  BinPackParameters: false
22  BraceWrapping:
23    AfterCaseLabel: true
24    AfterClass: true
25    AfterControlStatement: true
26    AfterEnum: true
27    AfterFunction: true
28    AfterNamespace: true
29    AfterObjCDeclaration: true
30    AfterStruct: true
31    AfterUnion: true
32    AfterExternBlock: true
33    BeforeCatch: true
34    BeforeElse: true
35    IndentBraces: false
36    SplitEmptyFunction: true
37    SplitEmptyRecord: true
38    SplitEmptyNamespace: true
39  BreakBeforeBinaryOperators: None
40  BreakBeforeBraces: Custom
41  BreakBeforeTernaryOperators: false
42  BreakConstructorInitializers: AfterColon
43  BreakInheritanceList: AfterColon
44  ColumnLimit: 0
45  CommentPragmas: "suppress"
46  CompactNamespaces: false
47  ConstructorInitializerAllOnOneLineOrOnePerLine: true
48  ConstructorInitializerIndentWidth: 4
49  ContinuationIndentWidth: 4
50  Cpp11BracedListStyle: false
51  DerivePointerAlignment: false
52  FixNamespaceComments: false
53  IncludeBlocks: Regroup
54  IncludeCategories:
55      - Regex: '^.*(precomp|pch|stdafx)'
56        Priority: -1
57      - Regex: '^".*"'
58        Priority: 1
59      - Regex: '^<.*>'
60        Priority: 2
61      - Regex: '.*'
62        Priority: 3
63  IndentCaseLabels: false
64  IndentPPDirectives: None
65  IndentWidth: 4
66  IndentWrappedFunctionNames: false
67  KeepEmptyLinesAtTheStartOfBlocks: false
68  ForEachMacros: ['TEST_CLASS', 'TEST_METHOD']
69  MacroBlockBegin: "TEST_METHOD|TEST_CLASS|BEGIN_TEST_METHOD_PROPERTIES|BEGIN_MODULE|BEGIN_TEST_CLASS|BEGIN_TEST_METHOD"
70  MacroBlockEnd: "END_TEST_METHOD_PROPERTIES|END_MODULE|END_TEST_CLASS|END_TEST_METHOD"
71  MaxEmptyLinesToKeep: 1
72  NamespaceIndentation: All
73  PointerAlignment: Left
74  ReflowComments: false
75  SortIncludes: false
76  SortUsingDeclarations: true
77  SpaceAfterCStyleCast: false
78  #SpaceAfterLogicalNot: false
79  SpaceAfterTemplateKeyword: false
80  SpaceBeforeAssignmentOperators: true
81  SpaceBeforeCpp11BracedList: false
82  SpaceBeforeCtorInitializerColon: true
83  SpaceBeforeInheritanceColon: true
84  SpaceBeforeParens: ControlStatements
85  SpaceBeforeRangeBasedForLoopColon: true
86  SpaceInEmptyParentheses: false
87  SpacesBeforeTrailingComments: 1
88  SpacesInAngles: false
89  SpacesInCStyleCastParentheses: false
90  SpacesInContainerLiterals: false
91  SpacesInParentheses: false
92  SpacesInSquareBrackets: false
93  Standard: Cpp11
94  TabWidth: 4
95  UseTab: Never