/ .clang-format
.clang-format
  1  ---
  2  Language: Cpp
  3  # BasedOnStyle:  Chromium
  4  AccessModifierOffset: -1
  5  AlignAfterOpenBracket: AlwaysBreak
  6  AlignArrayOfStructures: None
  7  AlignConsecutiveAssignments:
  8    Enabled: true
  9    AcrossEmptyLines: false
 10    AcrossComments: false
 11    AlignCompound: false
 12    PadOperators: true
 13  AlignConsecutiveBitFields:
 14    Enabled: false
 15    AcrossEmptyLines: false
 16    AcrossComments: false
 17    AlignCompound: false
 18    PadOperators: false
 19  AlignConsecutiveDeclarations:
 20    Enabled: true
 21    AcrossEmptyLines: false
 22    AcrossComments: false
 23    AlignCompound: false
 24    PadOperators: false
 25  AlignConsecutiveMacros:
 26    Enabled: true
 27    AcrossEmptyLines: false
 28    AcrossComments: false
 29    AlignCompound: false
 30    PadOperators: false
 31  AlignEscapedNewlines: Left
 32  AlignOperands: Align
 33  AlignTrailingComments:
 34    Kind: Always
 35    OverEmptyLines: 0
 36  AllowAllArgumentsOnNextLine: false
 37  AllowAllParametersOfDeclarationOnNextLine: false
 38  AllowShortBlocksOnASingleLine: Always
 39  AllowShortCaseLabelsOnASingleLine: false
 40  AllowShortEnumsOnASingleLine: true
 41  AllowShortFunctionsOnASingleLine: Inline
 42  AllowShortIfStatementsOnASingleLine: WithoutElse
 43  AllowShortLambdasOnASingleLine: All
 44  AllowShortLoopsOnASingleLine: true
 45  AlwaysBreakAfterDefinitionReturnType: None
 46  AlwaysBreakAfterReturnType: None
 47  AlwaysBreakBeforeMultilineStrings: true
 48  AlwaysBreakTemplateDeclarations: Yes
 49  AttributeMacros:
 50    - __capability
 51  BinPackArguments: true
 52  BinPackParameters: false
 53  BitFieldColonSpacing: Both
 54  BraceWrapping:
 55    AfterCaseLabel: false
 56    AfterClass: false
 57    AfterControlStatement: Never
 58    AfterEnum: false
 59    AfterExternBlock: false
 60    AfterFunction: false
 61    AfterNamespace: false
 62    AfterObjCDeclaration: false
 63    AfterStruct: false
 64    AfterUnion: false
 65    BeforeCatch: false
 66    BeforeElse: false
 67    BeforeLambdaBody: false
 68    BeforeWhile: false
 69    IndentBraces: false
 70    SplitEmptyFunction: true
 71    SplitEmptyRecord: true
 72    SplitEmptyNamespace: true
 73  BreakAfterAttributes: Never
 74  BreakAfterJavaFieldAnnotations: false
 75  BreakArrays: true
 76  BreakBeforeBinaryOperators: None
 77  BreakBeforeConceptDeclarations: Always
 78  BreakBeforeBraces: Attach
 79  BreakBeforeInlineASMColon: OnlyMultiline
 80  BreakBeforeTernaryOperators: true
 81  BreakConstructorInitializers: BeforeColon
 82  BreakInheritanceList: BeforeColon
 83  BreakStringLiterals: true
 84  ColumnLimit: 160
 85  CommentPragmas: "^ IWYU pragma:"
 86  CompactNamespaces: false
 87  ConstructorInitializerIndentWidth: 4
 88  ContinuationIndentWidth: 4
 89  Cpp11BracedListStyle: true
 90  DerivePointerAlignment: false
 91  DisableFormat: false
 92  EmptyLineAfterAccessModifier: Never
 93  EmptyLineBeforeAccessModifier: LogicalBlock
 94  ExperimentalAutoDetectBinPacking: false
 95  FixNamespaceComments: false
 96  ForEachMacros:
 97    - foreach
 98    - Q_FOREACH
 99    - BOOST_FOREACH
100  IfMacros:
101    - KJ_IF_MAYBE
102  IncludeBlocks: Regroup
103  IncludeCategories:
104    - Regex: '^<ext/.*\.h>'
105      Priority: 2
106      SortPriority: 0
107      CaseSensitive: false
108    - Regex: '^<.*\.h>'
109      Priority: 1
110      SortPriority: 0
111      CaseSensitive: false
112    - Regex: "^<.*"
113      Priority: 2
114      SortPriority: 0
115      CaseSensitive: false
116    - Regex: ".*"
117      Priority: 3
118      SortPriority: 0
119      CaseSensitive: false
120  IncludeIsMainRegex: "([-_](test|unittest))?$"
121  IncludeIsMainSourceRegex: ""
122  IndentAccessModifiers: true
123  IndentCaseBlocks: false
124  IndentCaseLabels: true
125  IndentExternBlock: AfterExternBlock
126  IndentGotoLabels: true
127  IndentPPDirectives: None
128  IndentRequiresClause: true
129  IndentWidth: 2
130  IndentWrappedFunctionNames: false
131  InsertBraces: false
132  InsertNewlineAtEOF: true
133  InsertTrailingCommas: None
134  IntegerLiteralSeparator:
135    Binary: 0
136    BinaryMinDigits: 0
137    Decimal: 0
138    DecimalMinDigits: 0
139    Hex: 0
140    HexMinDigits: 0
141  JavaScriptQuotes: Leave
142  JavaScriptWrapImports: true
143  KeepEmptyLinesAtTheStartOfBlocks: false
144  LambdaBodyIndentation: Signature
145  LineEnding: LF
146  MacroBlockBegin: ""
147  MacroBlockEnd: ""
148  MaxEmptyLinesToKeep: 1
149  NamespaceIndentation: All
150  ObjCBinPackProtocolList: Never
151  ObjCBlockIndentWidth: 2
152  ObjCBreakBeforeNestedBlockParam: true
153  ObjCSpaceAfterProperty: false
154  ObjCSpaceBeforeProtocolList: true
155  PackConstructorInitializers: NextLine
156  PenaltyBreakAssignment: 2
157  PenaltyBreakBeforeFirstCallParameter: 1
158  PenaltyBreakComment: 300
159  PenaltyBreakFirstLessLess: 120
160  PenaltyBreakOpenParenthesis: 0
161  PenaltyBreakString: 1000
162  PenaltyBreakTemplateDeclaration: 10
163  PenaltyExcessCharacter: 1000000
164  PenaltyIndentedWhitespace: 0
165  PenaltyReturnTypeOnItsOwnLine: 200
166  PointerAlignment: Left
167  PPIndentWidth: -1
168  QualifierAlignment: Leave
169  RawStringFormats:
170    - Language: Cpp
171      Delimiters:
172        - cc
173        - CC
174        - cpp
175        - Cpp
176        - CPP
177        - "c++"
178        - "C++"
179      CanonicalDelimiter: ""
180      BasedOnStyle: google
181    - Language: TextProto
182      Delimiters:
183        - pb
184        - PB
185        - proto
186        - PROTO
187      EnclosingFunctions:
188        - EqualsProto
189        - EquivToProto
190        - PARSE_PARTIAL_TEXT_PROTO
191        - PARSE_TEST_PROTO
192        - PARSE_TEXT_PROTO
193        - ParseTextOrDie
194        - ParseTextProtoOrDie
195        - ParseTestProto
196        - ParsePartialTestProto
197      CanonicalDelimiter: pb
198      BasedOnStyle: google
199  ReferenceAlignment: Pointer
200  ReflowComments: true
201  RemoveBracesLLVM: false
202  RemoveSemicolon: false
203  RequiresClausePosition: OwnLine
204  RequiresExpressionIndentation: OuterScope
205  SeparateDefinitionBlocks: Leave
206  ShortNamespaceLines: 1
207  SortIncludes: CaseSensitive
208  SortJavaStaticImport: Before
209  SortUsingDeclarations: LexicographicNumeric
210  SpaceAfterCStyleCast: true
211  SpaceAfterLogicalNot: false
212  SpaceAfterTemplateKeyword: true
213  SpaceAroundPointerQualifiers: Default
214  SpaceBeforeAssignmentOperators: true
215  SpaceBeforeCaseColon: false
216  SpaceBeforeCpp11BracedList: true
217  SpaceBeforeCtorInitializerColon: true
218  SpaceBeforeInheritanceColon: true
219  SpaceBeforeParens: ControlStatements
220  SpaceBeforeParensOptions:
221    AfterControlStatements: true
222    AfterForeachMacros: true
223    AfterFunctionDefinitionName: false
224    AfterFunctionDeclarationName: false
225    AfterIfMacros: true
226    AfterOverloadedOperator: false
227    AfterRequiresInClause: false
228    AfterRequiresInExpression: false
229    BeforeNonEmptyParentheses: false
230  SpaceBeforeRangeBasedForLoopColon: true
231  SpaceBeforeSquareBrackets: false
232  SpaceInEmptyBlock: false
233  SpaceInEmptyParentheses: false
234  SpacesBeforeTrailingComments: 2
235  SpacesInAngles: Never
236  SpacesInConditionalStatement: false
237  SpacesInContainerLiterals: true
238  SpacesInCStyleCastParentheses: false
239  SpacesInLineCommentPrefix:
240    Minimum: 1
241    Maximum: -1
242  SpacesInParentheses: false
243  SpacesInSquareBrackets: false
244  Standard: Auto
245  StatementAttributeLikeMacros:
246    - Q_EMIT
247  StatementMacros:
248    - Q_UNUSED
249    - QT_REQUIRE_VERSION
250  TabWidth: 8
251  UseTab: Never
252  WhitespaceSensitiveMacros:
253    - BOOST_PP_STRINGIZE
254    - CF_SWIFT_NAME
255    - NS_SWIFT_NAME
256    - PP_STRINGIZE
257    - STRINGIZE
258  ---