• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1---
2Language:        Cpp
3# BasedOnStyle:  LLVM
4AccessModifierOffset: -4
5AlignAfterOpenBracket: Align
6AlignConsecutiveMacros: Consecutive
7AlignConsecutiveAssignments: None
8AlignConsecutiveBitFields: None
9AlignConsecutiveDeclarations: None
10AlignEscapedNewlines: Right
11AlignOperands: Align
12AlignTrailingComments: true
13AllowAllArgumentsOnNextLine: false
14AllowAllConstructorInitializersOnNextLine: true
15AllowAllParametersOfDeclarationOnNextLine: true
16AllowShortEnumsOnASingleLine: true
17AllowShortBlocksOnASingleLine: Never
18AllowShortCaseLabelsOnASingleLine: false
19AllowShortFunctionsOnASingleLine: Empty
20AllowShortLambdasOnASingleLine: All
21AllowShortIfStatementsOnASingleLine: Never
22AllowShortLoopsOnASingleLine: false
23AlwaysBreakAfterDefinitionReturnType: None
24AlwaysBreakAfterReturnType: None
25AlwaysBreakBeforeMultilineStrings: false
26AlwaysBreakTemplateDeclarations: Yes
27AttributeMacros:
28  - __capability
29BinPackArguments: true
30BinPackParameters: true
31BreakBeforeBraces: WebKit
32BraceWrapping:
33  AfterCaseLabel:  false
34  AfterClass:      false
35  AfterControlStatement: Never
36  AfterEnum:       false
37  AfterFunction:   false
38  AfterNamespace:  false
39  AfterObjCDeclaration: false
40  AfterStruct:     false
41  AfterUnion:      false
42  AfterExternBlock: false
43  BeforeCatch:     false
44  BeforeElse:      false
45  BeforeLambdaBody: false
46  BeforeWhile:     false
47  IndentBraces:    false
48  SplitEmptyFunction: true
49  SplitEmptyRecord: true
50  SplitEmptyNamespace: true
51BreakBeforeBinaryOperators: None
52BreakBeforeConceptDeclarations: true
53BreakBeforeInheritanceComma: false
54BreakInheritanceList: BeforeColon
55BreakBeforeTernaryOperators: true
56BreakConstructorInitializers: BeforeColon
57BreakAfterJavaFieldAnnotations: false
58BreakStringLiterals: true
59ColumnLimit:     100
60CommentPragmas:  '^ IWYU pragma:'
61CompactNamespaces: false
62ConstructorInitializerAllOnOneLineOrOnePerLine: true
63ConstructorInitializerIndentWidth: 4
64ContinuationIndentWidth: 4
65Cpp11BracedListStyle: true
66DeriveLineEnding: true
67DerivePointerAlignment: false
68DisableFormat:   false
69EmptyLineBeforeAccessModifier: LogicalBlock
70ExperimentalAutoDetectBinPacking: false
71FixNamespaceComments: true
72ForEachMacros:
73  - foreach
74  - Q_FOREACH
75  - BOOST_FOREACH
76StatementAttributeLikeMacros:
77  - Q_EMIT
78IncludeBlocks:   Preserve
79#IncludeCategories:
80#  - Regex:           '^"(llvm|llvm-c|clang|clang-c)/'
81#    Priority:        1
82#    SortPriority:    0
83#    CaseSensitive:   false
84#  - Regex:           '^(<|"(gtest|gmock|isl|json)/)'
85#    Priority:        2
86#    SortPriority:    0
87#    CaseSensitive:   false
88#  - Regex:           '.*'
89#    Priority:        3
90#    SortPriority:    0
91#    CaseSensitive:   false
92
93IncludeIsMainRegex: '(Test)?$'
94IncludeIsMainSourceRegex: ''
95
96# 3.8.1
97IndentCaseLabels: true
98IndentCaseBlocks: false
99IndentGotoLabels: true
100IndentPPDirectives: None
101IndentExternBlock: AfterExternBlock
102IndentRequires:  false
103IndentWidth:     4
104IndentWrappedFunctionNames: false
105InsertTrailingCommas: None
106JavaScriptQuotes: Leave
107JavaScriptWrapImports: true
108KeepEmptyLinesAtTheStartOfBlocks: true
109MacroBlockBegin: ''
110MacroBlockEnd:   ''
111MaxEmptyLinesToKeep: 1
112NamespaceIndentation: None
113ObjCBinPackProtocolList: Auto
114ObjCBlockIndentWidth: 4
115ObjCBreakBeforeNestedBlockParam: true
116ObjCSpaceAfterProperty: false
117ObjCSpaceBeforeProtocolList: true
118PenaltyBreakAssignment: 4
119PenaltyBreakBeforeFirstCallParameter: 19
120PenaltyBreakComment: 300
121PenaltyBreakFirstLessLess: 120
122PenaltyBreakString: 1000
123PenaltyBreakTemplateDeclaration: 10
124PenaltyExcessCharacter: 1000000
125PenaltyReturnTypeOnItsOwnLine: 1000
126PenaltyIndentedWhitespace: 0
127PointerAlignment: Right
128ReflowComments:  true
129SortIncludes:    true
130SortJavaStaticImport: Before
131SortUsingDeclarations: true
132SpaceAfterCStyleCast: false
133SpaceAfterLogicalNot: false
134SpaceAfterTemplateKeyword: false
135SpaceBeforeAssignmentOperators: true
136SpaceBeforeCaseColon: false
137SpaceBeforeCpp11BracedList: true
138SpaceBeforeCtorInitializerColon: true
139SpaceBeforeInheritanceColon: true
140SpaceBeforeParens: ControlStatements
141SpaceAroundPointerQualifiers: Before
142SpaceBeforeRangeBasedForLoopColon: true
143SpaceInEmptyBlock: false
144SpaceInEmptyParentheses: false
145SpacesBeforeTrailingComments: 1
146SpacesInAngles:  false
147SpacesInConditionalStatement: false
148SpacesInContainerLiterals: true
149SpacesInCStyleCastParentheses: false
150SpacesInParentheses: false
151SpacesInSquareBrackets: false
152SpaceBeforeSquareBrackets: false
153BitFieldColonSpacing: Both
154
155StatementMacros:
156  - Q_UNUSED
157  - QT_REQUIRE_VERSION
158UseCRLF:         false
159UseTab:          Never
160WhitespaceSensitiveMacros:
161  - STRINGIZE
162  - PP_STRINGIZE
163  - BOOST_PP_STRINGIZE
164  - NS_SWIFT_NAME
165  - CF_SWIFT_NAME
166
167Standard:	c++17
168TabWidth: 4
169