File: clang-format.txt - Tab length: 1 2 4 8 - Lines: on off - No wrap: on off

001: ---
002: BasedOnStyle: LLVM
003: AccessModifierOffset: -2
004: AlignAfterOpenBracket: Align
005: AlignArrayOfStructures: Right
006: AlignConsecutiveAssignments:
007:   Enabled: true
008:   AcrossEmptyLines: false
009:   AcrossComments: true
010:   AlignCompound: true
011:   AlignFunctionPointers: true
012:   PadOperators: true
013: AlignConsecutiveBitFields:
014:   Enabled: true
015:   AcrossEmptyLines: false
016:   AcrossComments: true
017:   AlignCompound: true
018:   AlignFunctionPointers: true
019:   PadOperators: true
020: AlignConsecutiveDeclarations:
021:   Enabled: true
022:   AcrossEmptyLines: false
023:   AcrossComments: true
024:   AlignCompound: true
025:   AlignFunctionPointers: true
026:   PadOperators: true
027: AlignConsecutiveMacros:
028:   Enabled: true
029:   AcrossEmptyLines: false
030:   AcrossComments: true
031:   AlignCompound: true
032:   AlignFunctionPointers: true
033:   PadOperators: true
034: AlignConsecutiveShortCaseStatements:
035:   Enabled: true
036:   AcrossEmptyLines: false
037:   AcrossComments: true
038:   AlignCaseArrows: true
039:   AlignCaseColons: true
040: AlignConsecutiveTableGenBreakingDAGArgColons:
041:   Enabled: true
042:   AcrossEmptyLines: false
043:   AcrossComments: true
044:   AlignCompound: true
045:   AlignFunctionPointers: true
046:   PadOperators: true
047: AlignConsecutiveTableGenCondOperatorColons:
048:   Enabled: true
049:   AcrossEmptyLines: false
050:   AcrossComments: true
051:   AlignCompound: true
052:   AlignFunctionPointers: true
053:   PadOperators: true
054: AlignConsecutiveTableGenDefinitionColons:
055:   Enabled: true
056:   AcrossEmptyLines: false
057:   AcrossComments: true
058:   AlignCompound: true
059:   AlignFunctionPointers: true
060:   PadOperators: true
061: AlignEscapedNewlines: LeftWithLastLine
062: AlignOperands: AlignAfterOperator
063: AlignTrailingComments:
064:   Kind: Always
065:   OverEmptyLines: 0
066: AllowAllArgumentsOnNextLine: true
067: AllowAllParametersOfDeclarationOnNextLine: true
068: AllowBreakBeforeNoexceptSpecifier: OnlyWithParen
069: AllowShortBlocksOnASingleLine: Never
070: AllowShortCaseExpressionOnASingleLine: false
071: AllowShortCaseLabelsOnASingleLine: false
072: AllowShortCompoundRequirementOnASingleLine: false
073: AllowShortEnumsOnASingleLine: false
074: AllowShortFunctionsOnASingleLine: None
075: AllowShortIfStatementsOnASingleLine: Never
076: AllowShortLambdasOnASingleLine: All
077: AllowShortLoopsOnASingleLine: false
078: AlwaysBreakAfterDefinitionReturnType: None
079: AlwaysBreakBeforeMultilineStrings: false
080: AttributeMacros:
081:   - __capability
082: BinPackArguments: false
083: BinPackParameters: false
084: BitFieldColonSpacing: After
085: BraceWrapping:
086:   AfterCaseLabel: false
087:   AfterClass: true
088:   AfterControlStatement: Never
089:   AfterEnum: false
090:   AfterFunction: true
091:   AfterNamespace: false
092:   AfterObjCDeclaration: false
093:   AfterStruct: false
094:   AfterUnion: false
095:   AfterExternBlock: false
096:   BeforeCatch: true
097:   BeforeElse: true
098:   BeforeLambdaBody: false
099:   BeforeWhile: false
100:   IndentBraces: false
101:   SplitEmptyFunction: true
102:   SplitEmptyRecord: true
103:   SplitEmptyNamespace: true
104: BreakAdjacentStringLiterals: true
105: BreakAfterAttributes: Leave
106: BreakAfterJavaFieldAnnotations: false
107: BreakAfterReturnType: None
108: BreakArrays: true
109: BreakBeforeBinaryOperators: All
110: BreakBeforeBraces: Custom
111: BreakBeforeConceptDeclarations: Always
112: BreakBeforeInlineASMColon: OnlyMultiline
113: BreakBeforeTernaryOperators: true
114: BreakConstructorInitializers: BeforeComma
115: BreakFunctionDefinitionParameters: false
116: BreakInheritanceList: BeforeComma
117: BreakStringLiterals: true
118: BreakTemplateDeclarations: MultiLine
119: ColumnLimit: 160
120: CommentPragmas: "^ IWYU pragma:"
121: CompactNamespaces: false
122: ConstructorInitializerIndentWidth: 4
123: ContinuationIndentWidth: 4
124: Cpp11BracedListStyle: true
125: DerivePointerAlignment: false
126: DisableFormat: false
127: EmptyLineAfterAccessModifier: Never
128: EmptyLineBeforeAccessModifier: LogicalBlock
129: ExperimentalAutoDetectBinPacking: false
130: FixNamespaceComments: true
131: ForEachMacros:
132:   - foreach
133:   - Q_FOREACH
134:   - BOOST_FOREACH
135: IfMacros:
136:   - KJ_IF_MAYBE
137: IncludeBlocks: Merge
138: IncludeCategories:
139:   - Regex: ^"(llvm|llvm-c|clang|clang-c)/
140:     Priority: 2
141:     SortPriority: 0
142:     CaseSensitive: false
143:   - Regex: ^(<|"(gtest|gmock|isl|json)/)
144:     Priority: 3
145:     SortPriority: 0
146:     CaseSensitive: false
147:   - Regex: .*
148:     Priority: 1
149:     SortPriority: 0
150:     CaseSensitive: false
151: IncludeIsMainRegex: (Test)?$
152: IncludeIsMainSourceRegex: ""
153: IndentAccessModifiers: false
154: IndentCaseBlocks: false
155: IndentCaseLabels: true
156: IndentExternBlock: Indent
157: IndentGotoLabels: true
158: IndentPPDirectives: None
159: IndentRequiresClause: true
160: IndentWidth: 4
161: IndentWrappedFunctionNames: true
162: InsertBraces: false
163: InsertNewlineAtEOF: true
164: InsertTrailingCommas: None
165: IntegerLiteralSeparator:
166:   Binary: 0
167:   BinaryMinDigits: 0
168:   Decimal: 0
169:   DecimalMinDigits: 0
170:   Hex: 0
171:   HexMinDigits: 0
172: JavaScriptQuotes: Leave
173: JavaScriptWrapImports: true
174: KeepEmptyLines:
175:   AtEndOfFile: false
176:   AtStartOfBlock: true
177:   AtStartOfFile: true
178: LambdaBodyIndentation: Signature
179: LineEnding: DeriveCRLF
180: MacroBlockBegin: ""
181: MacroBlockEnd: ""
182: MainIncludeChar: Quote
183: MaxEmptyLinesToKeep: 1
184: NamespaceIndentation: None
185: ObjCBinPackProtocolList: Auto
186: ObjCBlockIndentWidth: 2
187: ObjCBreakBeforeNestedBlockParam: true
188: ObjCSpaceAfterProperty: false
189: ObjCSpaceBeforeProtocolList: true
190: PPIndentWidth: -1
191: PackConstructorInitializers: Never
192: PenaltyBreakAssignment: 2
193: PenaltyBreakBeforeFirstCallParameter: 19
194: PenaltyBreakComment: 300
195: PenaltyBreakFirstLessLess: 120
196: PenaltyBreakOpenParenthesis: 0
197: PenaltyBreakScopeResolution: 500
198: PenaltyBreakString: 1000
199: PenaltyBreakTemplateDeclaration: 10
200: PenaltyExcessCharacter: 1000000
201: PenaltyIndentedWhitespace: 0
202: PenaltyReturnTypeOnItsOwnLine: 60
203: PointerAlignment: Left
204: QualifierAlignment: Left
205: ReferenceAlignment: Pointer
206: ReflowComments: false
207: RemoveBracesLLVM: false
208: RemoveParentheses: Leave
209: RemoveSemicolon: false
210: RequiresClausePosition: OwnLine
211: RequiresExpressionIndentation: OuterScope
212: SeparateDefinitionBlocks: Leave
213: ShortNamespaceLines: 1
214: SkipMacroDefinitionBody: false
215: SortIncludes: CaseSensitive
216: SortJavaStaticImport: Before
217: SortUsingDeclarations: LexicographicNumeric
218: SpaceAfterCStyleCast: false
219: SpaceAfterLogicalNot: false
220: SpaceAfterTemplateKeyword: false
221: SpaceAroundPointerQualifiers: Default
222: SpaceBeforeAssignmentOperators: true
223: SpaceBeforeCaseColon: false
224: SpaceBeforeCpp11BracedList: false
225: SpaceBeforeCtorInitializerColon: false
226: SpaceBeforeInheritanceColon: false
227: SpaceBeforeJsonColon: false
228: SpaceBeforeParens: ControlStatements
229: SpaceBeforeParensOptions:
230:   AfterControlStatements: true
231:   AfterForeachMacros: true
232:   AfterFunctionDeclarationName: false
233:   AfterFunctionDefinitionName: false
234:   AfterIfMacros: true
235:   AfterOverloadedOperator: false
236:   AfterPlacementOperator: true
237:   AfterRequiresInClause: false
238:   AfterRequiresInExpression: false
239:   BeforeNonEmptyParentheses: false
240: SpaceBeforeRangeBasedForLoopColon: false
241: SpaceBeforeSquareBrackets: false
242: SpaceInEmptyBlock: false
243: SpacesBeforeTrailingComments: 1
244: SpacesInAngles: Never
245: SpacesInContainerLiterals: false
246: SpacesInLineCommentPrefix:
247:   Minimum: 1
248:   Maximum: -1
249: SpacesInParens: Never
250: SpacesInParensOptions:
251:   ExceptDoubleParentheses: false
252:   InConditionalStatements: false
253:   InCStyleCasts: false
254:   InEmptyParentheses: false
255:   Other: false
256: SpacesInSquareBrackets: false
257: Standard: Latest
258: StatementAttributeLikeMacros:
259:   - Q_EMIT
260: StatementMacros:
261:   - Q_UNUSED
262:   - QT_REQUIRE_VERSION
263: TabWidth: 4
264: TableGenBreakInsideDAGArg: DontBreak
265: UseTab: Never
266: VerilogBreakBetweenInstancePorts: true
267: WhitespaceSensitiveMacros:
268:   - BOOST_PP_STRINGIZE
269:   - CF_SWIFT_NAME
270:   - NS_SWIFT_NAME
271:   - PP_STRINGIZE
272:   - STRINGIZE
273: Language: Cpp