Files
aaruremote/.clang-format

117 lines
3.1 KiB
Plaintext
Raw Normal View History

2024-04-30 15:41:38 +01:00
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -4
2019-10-12 13:06:21 +01:00
AlignAfterOpenBracket: Align
2024-04-30 15:41:38 +01:00
AlignArrayOfStructures: Right
AlignConsecutiveAssignments: AcrossComments
AlignConsecutiveBitFields: true
AlignConsecutiveDeclarations: AcrossComments
AlignConsecutiveMacros: AcrossComments
AlignConsecutiveShortCaseStatements:
Enabled: true
AcrossEmptyLines: false
AcrossComments: true
AlignCaseColons: false
AlignEscapedNewlines: Left
AlignOperands: true
2019-10-12 13:06:21 +01:00
AlignTrailingComments: true
2024-04-30 15:41:38 +01:00
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Always
AllowShortCaseLabelsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
2019-10-12 13:06:21 +01:00
AllowShortFunctionsOnASingleLine: All
2024-04-30 15:41:38 +01:00
AllowShortIfStatementsOnASingleLine: true
2019-10-12 13:06:21 +01:00
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
2024-04-30 15:41:38 +01:00
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: true
BinPackParameters: true
BitFieldColonSpacing: Both
BraceWrapping:
AfterCaseLabel: true
AfterClass: false
2019-10-12 13:06:21 +01:00
AfterControlStatement: true
2024-04-30 15:41:38 +01:00
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: true
2019-10-12 13:06:21 +01:00
AfterExternBlock: true
2024-04-30 15:41:38 +01:00
BeforeCatch: true
BeforeElse: true
IndentBraces: false
2019-10-12 13:06:21 +01:00
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Allman
BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
2024-04-30 15:41:38 +01:00
ColumnLimit: 120
CommentPragmas: '^ IWYU pragma:'
2019-10-12 13:06:21 +01:00
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
2024-04-30 15:41:38 +01:00
DisableFormat: false
2019-10-12 13:06:21 +01:00
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
2024-04-30 15:41:38 +01:00
ForEachMacros:
2019-10-12 13:06:21 +01:00
- foreach
- Q_FOREACH
- BOOST_FOREACH
2024-04-30 15:41:38 +01:00
IncludeBlocks: Preserve
IncludeCategories:
2024-04-30 15:41:38 +01:00
- Regex: '^<ext/.*\.h>'
Priority: 2
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: 'library\.h'
Priority: 2
- Regex: '.*'
Priority: 3
2019-10-12 13:06:21 +01:00
IndentCaseLabels: true
2024-04-30 15:41:38 +01:00
IndentWidth: 4
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
2019-10-12 13:06:21 +01:00
JavaScriptWrapImports: true
2024-04-30 15:41:38 +01:00
KeepEmptyLinesAtTheStartOfBlocks: true
LineEnding: LF
2019-10-12 13:06:21 +01:00
MacroBlockBegin: ''
2024-04-30 15:41:38 +01:00
MacroBlockEnd: ''
2019-10-12 13:06:21 +01:00
MaxEmptyLinesToKeep: 1
2024-04-30 15:41:38 +01:00
NamespaceIndentation: None
ObjCBlockIndentWidth: 2
2019-10-12 13:06:21 +01:00
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
2024-04-30 15:41:38 +01:00
PointerAlignment: Right
ReflowComments: true
SeparateDefinitionBlocks: Always
SortIncludes: CaseInsensitive
2019-10-12 13:06:21 +01:00
SpaceAfterCStyleCast: false
2024-04-30 15:41:38 +01:00
SpaceAfterTemplateKeyword: true
2019-10-12 13:06:21 +01:00
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: Never
SpaceInEmptyParentheses: false
2024-04-30 15:41:38 +01:00
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInContainerLiterals: true
2019-10-12 13:06:21 +01:00
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
2024-04-30 15:41:38 +01:00
Standard: Latest
TabWidth: 4
UseTab: Never