source: releases/2.10.0/.clang-format

Last change on this file was 2466, checked in by unxusr, 5 months ago

clang format fix

File size: 3.2 KB
Line 
1---
2Language:        Cpp
3# BasedOnStyle:  WebKit
4AccessModifierOffset: -2
5AlignAfterOpenBracket: DontAlign
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: Right
9AlignOperands:   false
10AlignTrailingComments: false
11AllowAllParametersOfDeclarationOnNextLine: true
12AllowShortBlocksOnASingleLine: false
13AllowShortCaseLabelsOnASingleLine: false
14AllowShortFunctionsOnASingleLine: All
15AllowShortIfStatementsOnASingleLine: false
16AllowShortLoopsOnASingleLine: false
17AlwaysBreakAfterDefinitionReturnType: None
18AlwaysBreakAfterReturnType: None
19AlwaysBreakBeforeMultilineStrings: false
20AlwaysBreakTemplateDeclarations: MultiLine
21BinPackArguments: true
22BinPackParameters: true
23BraceWrapping:   
24  AfterClass:      false
25  AfterControlStatement: false
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: All
40BreakBeforeBraces: WebKit
41BreakBeforeInheritanceComma: false
42BreakInheritanceList: BeforeColon
43BreakBeforeTernaryOperators: true
44BreakConstructorInitializersBeforeComma: false
45BreakConstructorInitializers: BeforeComma
46BreakAfterJavaFieldAnnotations: false
47BreakStringLiterals: true
48ColumnLimit:     0
49CommentPragmas:  '^ IWYU pragma:'
50CompactNamespaces: false
51ConstructorInitializerAllOnOneLineOrOnePerLine: false
52ConstructorInitializerIndentWidth: 2
53ContinuationIndentWidth: 2
54Cpp11BracedListStyle: false
55DerivePointerAlignment: false
56DisableFormat:   false
57ExperimentalAutoDetectBinPacking: false
58FixNamespaceComments: false
59ForEachMacros:   
60  - foreach
61  - Q_FOREACH
62  - BOOST_FOREACH
63IncludeBlocks:   Preserve
64IncludeCategories:
65  - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
66    Priority:        2
67  - Regex:           '^(<|"(gtest|gmock|isl|json)/)'
68    Priority:        3
69  - Regex:           '.*'
70    Priority:        1
71IncludeIsMainRegex: '(Test)?$'
72IndentCaseLabels: false
73IndentPPDirectives: None
74IndentWidth:     2
75IndentWrappedFunctionNames: false
76JavaScriptQuotes: Leave
77JavaScriptWrapImports: true
78KeepEmptyLinesAtTheStartOfBlocks: true
79MacroBlockBegin: ''
80MacroBlockEnd:   ''
81MaxEmptyLinesToKeep: 1
82NamespaceIndentation: Inner
83PenaltyBreakAssignment: 2
84PenaltyBreakBeforeFirstCallParameter: 19
85PenaltyBreakComment: 300
86PenaltyBreakFirstLessLess: 120
87PenaltyBreakString: 1000
88PenaltyBreakTemplateDeclaration: 10
89PenaltyExcessCharacter: 1000000
90PenaltyReturnTypeOnItsOwnLine: 60
91PointerAlignment: Right
92ReflowComments:  true
93SortIncludes:    false
94SortUsingDeclarations: false
95SpaceAfterCStyleCast: false
96SpaceAfterTemplateKeyword: true
97SpaceBeforeAssignmentOperators: true
98SpaceBeforeCpp11BracedList: true
99SpaceBeforeCtorInitializerColon: true
100SpaceBeforeInheritanceColon: true
101SpaceBeforeParens: ControlStatements
102SpaceBeforeRangeBasedForLoopColon: true
103SpaceInEmptyParentheses: false
104SpacesBeforeTrailingComments: 1
105SpacesInAngles:  true
106SpacesInContainerLiterals: true
107SpacesInCStyleCastParentheses: false
108SpacesInParentheses: false
109SpacesInSquareBrackets: false
110Standard:        Cpp11
111TabWidth:        8
112UseTab:          Never
113...
114
Note: See TracBrowser for help on using the repository browser.