oblogproxy/.clang-format

80 lines
2.1 KiB
Plaintext
Raw Normal View History

2023-11-15 16:32:13 +08:00
---
Language: Cpp
2023-11-15 21:06:51 +08:00
#BasedOnStyle: Google
2023-11-15 16:32:13 +08:00
SortIncludes: false
AccessModifierOffset: -2
AlignAfterOpenBracket: DontAlign
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
DerivePointerAlignment: false
PointerAlignment: Left
ConstructorInitializerIndentWidth: 4
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
AlwaysBreakBeforeMultilineStrings: false
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BinPackParameters: true
ColumnLimit: 120
ConstructorInitializerAllOnOneLineOrOnePerLine: true
DerivePointerBinding: true
ExperimentalAutoDetectBinPacking: false
IndentCaseLabels: true
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCSpaceBeforeProtocolList: false
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 200
PenaltyBreakString: 1000
PenaltyBreakFirstLessLess: 120
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
PointerBindsToType: true
Cpp11BracedListStyle: true
2023-11-15 21:06:51 +08:00
Standard: Auto
IndentWidth: 2
TabWidth: 4
UseTab: Never
2023-11-15 16:32:13 +08:00
BreakBeforeBraces: Custom
BraceWrapping:
2023-11-15 21:06:51 +08:00
AfterClass: false
2023-11-15 16:32:13 +08:00
AfterControlStatement: false
2023-11-15 21:06:51 +08:00
AfterEnum: false
AfterFunction: true
AfterNamespace: false
2023-11-15 16:32:13 +08:00
AfterObjCDeclaration: false
2023-11-15 21:06:51 +08:00
AfterStruct: false
AfterUnion: false
2023-11-15 16:32:13 +08:00
AfterExternBlock: false
2023-11-15 21:06:51 +08:00
BeforeCatch: false
BeforeElse: false
IndentBraces: false
2023-11-15 16:32:13 +08:00
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
IndentFunctionDeclarationAfterType: true
SpacesInParentheses: false
SpacesInAngles: false
SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
SpaceAfterControlStatementKeyword: true
SpaceBeforeAssignmentOperators: true
SpacesBeforeTrailingComments: 2
ContinuationIndentWidth: 4
2023-11-15 21:06:51 +08:00
CommentPragmas: '^lint'
2023-11-15 16:32:13 +08:00
MacroBlockBegin: "
END_CATCH_ERROR$"
...