alec

Abstraction Layer for Escape Codes
git clone git://git.dimitrijedobrota.com/alec.git
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING

.clang-format (4909B)


0 ---
1 Language: Cpp
2 # BasedOnStyle: Chromium
3 AccessModifierOffset: -2
4 AlignAfterOpenBracket: BlockIndent
5 AlignConsecutiveMacros: false
6 AlignConsecutiveAssignments: false
7 AlignConsecutiveBitFields: false
8 AlignConsecutiveDeclarations: false
9 AlignEscapedNewlines: Right
10 AlignOperands: DontAlign
11 AlignTrailingComments: false
12 AllowAllArgumentsOnNextLine: true
13 AllowAllConstructorInitializersOnNextLine: false
14 AllowAllParametersOfDeclarationOnNextLine: true
15 AllowShortEnumsOnASingleLine: false
16 AllowShortBlocksOnASingleLine: Empty
17 AllowShortCaseLabelsOnASingleLine: false
18 AllowShortFunctionsOnASingleLine: Inline
19 AllowShortLambdasOnASingleLine: Empty
20 AllowShortIfStatementsOnASingleLine: Never
21 AllowShortLoopsOnASingleLine: false
22 AllowShortCompoundRequirementOnASingleLine: true
23 AlwaysBreakAfterDefinitionReturnType: None
24 AlwaysBreakAfterReturnType: None
25 AlwaysBreakBeforeMultilineStrings: true
26 AlwaysBreakTemplateDeclarations: Yes
27 BinPackArguments: false
28 BinPackParameters: false
29 BraceWrapping:
30 AfterCaseLabel: false
31 AfterClass: true
32 AfterControlStatement: MultiLine
33 AfterEnum: true
34 AfterFunction: true
35 AfterNamespace: true
36 AfterObjCDeclaration: false
37 AfterStruct: true
38 AfterUnion: true
39 AfterExternBlock: true
40 BeforeCatch: false
41 BeforeElse: false
42 BeforeLambdaBody: true
43 BeforeWhile: false
44 IndentBraces: false
45 SplitEmptyFunction: true
46 SplitEmptyRecord: true
47 SplitEmptyNamespace: true
48 BreakBeforeBinaryOperators: NonAssignment
49 BreakBeforeBraces: Custom
50 # BreakBeforeInheritanceComma: true
51 BreakInheritanceList: BeforeComma
52 BreakBeforeTernaryOperators: true
53 BreakBeforeConceptDeclarations: Always
54 BreakConstructorInitializersBeforeComma: true
55 BreakConstructorInitializers: BeforeComma
56 BreakAfterJavaFieldAnnotations: true
57 BreakStringLiterals: true
58 ColumnLimit: 80
59 CommentPragmas: '^ IWYU pragma:'
60 CompactNamespaces: false
61 ConstructorInitializerAllOnOneLineOrOnePerLine: false
62 ConstructorInitializerIndentWidth: 4
63 ContinuationIndentWidth: 4
64 Cpp11BracedListStyle: true
65 DeriveLineEnding: false
66 DerivePointerAlignment: false
67 DisableFormat: false
68 ExperimentalAutoDetectBinPacking: false
69 FixNamespaceComments: true
70 ForEachMacros:
71 - foreach
72 - Q_FOREACH
73 - BOOST_FOREACH
74 - BASED_FOREACH
75 IncludeBlocks: Regroup
76 IncludeCategories:
77 # Standard library headers come before anything else
78 - Regex: '^<[a-z_]+>'
79 Priority: -1
80 - Regex: '^<.+\.h(pp)?>'
81 Priority: 1
82 - Regex: '^<.*'
83 Priority: 2
84 - Regex: '.*'
85 Priority: 3
86 IncludeIsMainRegex: ''
87 IncludeIsMainSourceRegex: ''
88 IndentCaseLabels: true
89 IndentCaseBlocks: false
90 IndentGotoLabels: true
91 IndentPPDirectives: AfterHash
92 IndentExternBlock: NoIndent
93 IndentWidth: 2
94 IndentWrappedFunctionNames: false
95 IndentRequiresClause: true
96 RequiresClausePosition: OwnLine
97 InsertTrailingCommas: Wrapped
98 JavaScriptQuotes: Double
99 JavaScriptWrapImports: true
100 KeepEmptyLinesAtTheStartOfBlocks: false
101 MacroBlockBegin: ''
102 MacroBlockEnd: ''
103 MaxEmptyLinesToKeep: 1
104 NamespaceIndentation: None
105 RequiresExpressionIndentation: OuterScope
106 ObjCBinPackProtocolList: Never
107 ObjCBlockIndentWidth: 2
108 ObjCBreakBeforeNestedBlockParam: true
109 ObjCSpaceAfterProperty: false
110 ObjCSpaceBeforeProtocolList: true
111 PenaltyBreakAssignment: 2
112 PenaltyBreakBeforeFirstCallParameter: 1
113 PenaltyBreakComment: 300
114 PenaltyBreakFirstLessLess: 120
115 PenaltyBreakString: 1000
116 PenaltyBreakTemplateDeclaration: 10
117 PenaltyExcessCharacter: 1000000
118 PenaltyReturnTypeOnItsOwnLine: 200
119 PointerAlignment: Left
120 RawStringFormats:
121 - Language: Cpp
122 Delimiters:
123 - cc
124 - CC
125 - cpp
126 - Cpp
127 - CPP
128 - 'c++'
129 - 'C++'
130 CanonicalDelimiter: ''
131 BasedOnStyle: google
132 - Language: TextProto
133 Delimiters:
134 - pb
135 - PB
136 - proto
137 - PROTO
138 EnclosingFunctions:
139 - EqualsProto
140 - EquivToProto
141 - PARSE_PARTIAL_TEXT_PROTO
142 - PARSE_TEST_PROTO
143 - PARSE_TEXT_PROTO
144 - ParseTextOrDie
145 - ParseTextProtoOrDie
146 - ParseTestProto
147 - ParsePartialTestProto
148 CanonicalDelimiter: ''
149 BasedOnStyle: google
150 ReflowComments: true
151 SortIncludes: true
152 SortUsingDeclarations: true
153 SpaceAfterCStyleCast: false
154 SpaceAfterLogicalNot: false
155 SpaceAfterTemplateKeyword: false
156 SpaceBeforeAssignmentOperators: true
157 SpaceBeforeCpp11BracedList: true
158 SpaceBeforeCtorInitializerColon: true
159 SpaceBeforeInheritanceColon: true
160 SpaceBeforeParens: ControlStatementsExceptForEachMacros
161 SpaceBeforeRangeBasedForLoopColon: true
162 SpaceInEmptyBlock: false
163 SpaceInEmptyParentheses: false
164 SpacesBeforeTrailingComments: 2
165 SpacesInAngles: false
166 SpacesInConditionalStatement: false
167 SpacesInContainerLiterals: false
168 SpacesInCStyleCastParentheses: false
169 SpacesInParentheses: false
170 SpacesInSquareBrackets: false
171 SpaceBeforeSquareBrackets: false
172 Standard: Auto
173 StatementMacros:
174 - Q_UNUSED
175 - QT_REQUIRE_VERSION
176 TabWidth: 8
177 UseCRLF: false
178 UseTab: Never
179 WhitespaceSensitiveMacros:
180 - STRINGIZE
181 - PP_STRINGIZE
182 - BOOST_PP_STRINGIZE
183 ...