• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Language:        Cpp
2#BasedOnStyle:    LLVM
3AccessModifierOffset: -4
4AlignAfterOpenBracket: Align
5AlignConsecutiveMacros: true
6AlignConsecutiveAssignments: false
7AlignConsecutiveDeclarations: false
8AlignEscapedNewlines: Left
9AlignOperands: true
10AlignTrailingComments: true
11AllowAllArgumentsOnNextLine: true
12AllowAllConstructorInitializersOnNextLine: true
13AllowAllParametersOfDeclarationOnNextLine: true
14AllowShortBlocksOnASingleLine: false
15AllowShortCaseLabelsOnASingleLine: false
16AllowShortFunctionsOnASingleLine: Empty
17AllowShortLambdasOnASingleLine: All
18AllowShortIfStatementsOnASingleLine: false
19AllowShortLoopsOnASingleLine: false
20AlwaysBreakAfterDefinitionReturnType: None
21AlwaysBreakAfterReturnType: None
22AlwaysBreakBeforeMultilineStrings: false
23AlwaysBreakTemplateDeclarations: Yes #template break
24BinPackArguments: true
25BinPackParameters: true
26CompactNamespaces: false
27PPIndentWidth: 0 # for space in “#define”
28BraceWrapping:
29  AfterCaseLabel:  false
30  AfterClass:      false
31  AfterControlStatement: false
32  AfterEnum:       false
33  AfterFunction:   true
34  AfterNamespace:  false
35  AfterObjCDeclaration: false
36  AfterStruct:     false
37  AfterUnion:      false
38  AfterExternBlock: false
39  BeforeCatch:     false
40  BeforeElse:      false
41  IndentBraces:    false
42  SplitEmptyFunction: false
43  SplitEmptyRecord: true
44  SplitEmptyNamespace: true
45BreakBeforeBinaryOperators: None
46BreakBeforeBraces: Custom
47BreakBeforeInheritanceComma: false
48BreakInheritanceList: AfterComma
49BreakBeforeTernaryOperators: true
50BreakConstructorInitializersBeforeComma: false
51BreakConstructorInitializers: BeforeColon
52BreakAfterJavaFieldAnnotations: false
53BreakStringLiterals: false
54ColumnLimit:     120
55CommentPragmas:  '^ IWYU pragma:'
56ConstructorInitializerAllOnOneLineOrOnePerLine: false
57ConstructorInitializerIndentWidth: 4
58ContinuationIndentWidth: 4
59Cpp11BracedListStyle: true
60DerivePointerAlignment: false
61DisableFormat:   false
62ExperimentalAutoDetectBinPacking: false
63FixNamespaceComments: true
64ForEachMacros:
65  - foreach
66  - Q_FOREACH
67  - BOOST_FOREACH
68IncludeBlocks:   Merge
69IncludeCategories:
70  - Regex:           '^<*.*>'
71    Priority:        1
72  - Regex:           '^"*.*"'
73    Priority:        2
74IncludeIsMainRegex: '(Test)?$'
75IndentCaseLabels: true
76IndentPPDirectives: AfterHash
77IndentWidth:     4
78IndentWrappedFunctionNames: false
79JavaScriptQuotes: Leave
80JavaScriptWrapImports: true
81KeepEmptyLinesAtTheStartOfBlocks: false
82MacroBlockBegin: ''
83MacroBlockEnd:   ''
84MaxEmptyLinesToKeep: 1
85NamespaceIndentation: None
86ObjCBinPackProtocolList: Auto
87ObjCBlockIndentWidth: 4
88ObjCSpaceAfterProperty: false
89ObjCSpaceBeforeProtocolList: true
90PenaltyBreakAssignment: 2
91PenaltyBreakBeforeFirstCallParameter: 19
92PenaltyBreakComment: 300
93PenaltyBreakFirstLessLess: 119
94PenaltyBreakString: 1000
95PenaltyBreakTemplateDeclaration: 10
96PenaltyExcessCharacter: 1000000
97PenaltyReturnTypeOnItsOwnLine: 60
98PointerAlignment: Right
99ReflowComments:  true
100SortIncludes:    true
101SortUsingDeclarations: true
102SpaceAfterCStyleCast: false
103SpaceAfterLogicalNot: false
104SpaceAfterTemplateKeyword: true
105SpaceBeforeAssignmentOperators: true
106SpaceBeforeCpp11BracedList: false
107SpaceBeforeCtorInitializerColon: true
108SpaceBeforeInheritanceColon: true
109SpaceBeforeParens: ControlStatements
110SpaceBeforeRangeBasedForLoopColon: true
111SpaceInEmptyParentheses: false
112SpacesBeforeTrailingComments: 1
113SpacesInAngles:  false
114SpacesInContainerLiterals: true
115SpacesInCStyleCastParentheses: false
116SpacesInParentheses: false
117SpacesInSquareBrackets: false
118Standard:        Cpp11
119StatementMacros:
120  - Q_UNUSED
121  - QT_REQUIRE_VERSION
122TabWidth:        4
123UseTab:          Never