FreeCAD
108 строк · 3.2 Кб
1# libE57Format
2# Options are listed here:
3# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
4---
5AccessModifierOffset: -3
6AlignAfterOpenBracket: Align
7AlignConsecutiveAssignments: false
8AlignConsecutiveDeclarations: false
9AlignEscapedNewlines: Right
10AlignOperands: true
11AlignTrailingComments: true
12AllowAllArgumentsOnNextLine: true
13AllowAllConstructorInitializersOnNextLine: true
14AllowAllParametersOfDeclarationOnNextLine: true
15AllowShortBlocksOnASingleLine: false
16AllowShortCaseLabelsOnASingleLine: false
17AllowShortFunctionsOnASingleLine: None
18AllowShortLambdasOnASingleLine: All
19AllowShortIfStatementsOnASingleLine: Never
20AllowShortLoopsOnASingleLine: false
21AlwaysBreakAfterDefinitionReturnType: None
22AlwaysBreakAfterReturnType: None
23AlwaysBreakBeforeMultilineStrings: false
24AlwaysBreakTemplateDeclarations: MultiLine
25BinPackArguments: true
26BinPackParameters: true
27BraceWrapping:
28AfterCaseLabel: true
29AfterClass: true
30AfterControlStatement: true
31AfterEnum: true
32AfterFunction: true
33AfterNamespace: true
34AfterStruct: true
35AfterUnion: true
36AfterExternBlock: true
37BeforeCatch: true
38BeforeElse: true
39IndentBraces: false
40SplitEmptyFunction: true
41SplitEmptyRecord: true
42SplitEmptyNamespace: true
43BreakBeforeBinaryOperators: None
44BreakBeforeBraces: Custom
45BreakBeforeInheritanceComma: false
46BreakInheritanceList: BeforeColon
47BreakBeforeTernaryOperators: true
48BreakConstructorInitializersBeforeComma: false
49BreakConstructorInitializers: AfterColon
50BreakStringLiterals: true
51ColumnLimit: 120
52CommentPragmas: '^ IWYU pragma:'
53CompactNamespaces: false
54ConstructorInitializerAllOnOneLineOrOnePerLine: false
55ConstructorInitializerIndentWidth: 3
56ContinuationIndentWidth: 3
57Cpp11BracedListStyle: false
58DerivePointerAlignment: false
59FixNamespaceComments: false
60IncludeBlocks: Preserve
61IncludeCategories:
62- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
63Priority: 2
64- Regex: '^(<|"(gtest|gmock|isl|json)/)'
65Priority: 3
66- Regex: '.*'
67Priority: 1
68IncludeIsMainRegex: '(Test)?$'
69IndentCaseLabels: true
70IndentPPDirectives: None
71IndentWidth: 3
72IndentWrappedFunctionNames: true
73KeepEmptyLinesAtTheStartOfBlocks: true
74Language: Cpp
75MaxEmptyLinesToKeep: 1
76NamespaceIndentation: All
77PenaltyBreakAssignment: 2
78PenaltyBreakBeforeFirstCallParameter: 19
79PenaltyBreakComment: 300
80PenaltyBreakFirstLessLess: 120
81PenaltyBreakString: 1000
82PenaltyBreakTemplateDeclaration: 10
83PenaltyExcessCharacter: 1000000
84PenaltyReturnTypeOnItsOwnLine: 1000
85PointerAlignment: Right
86ReflowComments: true
87SortIncludes: true
88SortUsingDeclarations: true
89SpaceAfterCStyleCast: false
90SpaceAfterLogicalNot: false
91SpaceAfterTemplateKeyword: true
92SpaceBeforeAssignmentOperators: true
93SpaceBeforeCpp11BracedList: false
94SpaceBeforeCtorInitializerColon: true
95SpaceBeforeInheritanceColon: true
96SpaceBeforeParens: ControlStatements
97SpaceBeforeRangeBasedForLoopColon: true
98SpaceInEmptyParentheses: false
99SpacesBeforeTrailingComments: 1
100SpacesInAngles: false
101SpacesInContainerLiterals: true
102SpacesInCStyleCastParentheses: false
103SpacesInParentheses: true
104SpacesInSquareBrackets: false
105Standard: Cpp11
106TabWidth: 3
107UseTab: Never
108...
109