mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 13:53:11 +00:00
Modify .clang-format to make it more aligned with current freebsd style
This commit is contained in:
@@ -20,16 +20,16 @@ AlwaysBreakBeforeMultilineStrings: true
|
|||||||
BinPackArguments: true
|
BinPackArguments: true
|
||||||
BinPackParameters: true
|
BinPackParameters: true
|
||||||
BraceWrapping:
|
BraceWrapping:
|
||||||
AfterClass: false
|
AfterClass: true
|
||||||
AfterControlStatement: false
|
AfterControlStatement: true
|
||||||
AfterEnum: false
|
AfterEnum: true
|
||||||
AfterFunction: false
|
AfterFunction: true
|
||||||
AfterNamespace: false
|
AfterNamespace: true
|
||||||
AfterObjCDeclaration: false
|
AfterObjCDeclaration: true
|
||||||
AfterStruct: false
|
AfterStruct: true
|
||||||
AfterUnion: false
|
AfterUnion: true
|
||||||
BeforeCatch: false
|
BeforeCatch: true
|
||||||
BeforeElse: false
|
BeforeElse: true
|
||||||
IndentBraces: false
|
IndentBraces: false
|
||||||
# BreakAfterJavaFieldAnnotations: true
|
# BreakAfterJavaFieldAnnotations: true
|
||||||
BreakBeforeBinaryOperators: NonAssignment
|
BreakBeforeBinaryOperators: NonAssignment
|
||||||
@@ -43,7 +43,7 @@ ColumnLimit: 80
|
|||||||
# CompactNamespaces: true
|
# CompactNamespaces: true
|
||||||
# ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
# ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||||||
# ConstructorInitializerIndentWidth: 4
|
# ConstructorInitializerIndentWidth: 4
|
||||||
ContinuationIndentWidth: 2
|
ContinuationIndentWidth: 4
|
||||||
Cpp11BracedListStyle: true
|
Cpp11BracedListStyle: true
|
||||||
DerivePointerAlignment: false
|
DerivePointerAlignment: false
|
||||||
DisableFormat: false
|
DisableFormat: false
|
||||||
@@ -57,7 +57,7 @@ ForEachMacros: [ ql_foreach, qr_foreach, ]
|
|||||||
# IncludeIsMainRegex: ''
|
# IncludeIsMainRegex: ''
|
||||||
IndentCaseLabels: false
|
IndentCaseLabels: false
|
||||||
IndentPPDirectives: AfterHash
|
IndentPPDirectives: AfterHash
|
||||||
IndentWidth: 4
|
IndentWidth: 8
|
||||||
IndentWrappedFunctionNames: false
|
IndentWrappedFunctionNames: false
|
||||||
# JavaImportGroups: []
|
# JavaImportGroups: []
|
||||||
# JavaScriptQuotes: Leave
|
# JavaScriptQuotes: Leave
|
||||||
@@ -73,8 +73,8 @@ MaxEmptyLinesToKeep: 1
|
|||||||
# ObjCSpaceAfterProperty: false
|
# ObjCSpaceAfterProperty: false
|
||||||
# ObjCSpaceBeforeProtocolList: false
|
# ObjCSpaceBeforeProtocolList: false
|
||||||
|
|
||||||
PenaltyBreakAssignment: 2
|
PenaltyBreakAssignment: 100
|
||||||
PenaltyBreakBeforeFirstCallParameter: 1
|
PenaltyBreakBeforeFirstCallParameter: 100
|
||||||
PenaltyBreakComment: 300
|
PenaltyBreakComment: 300
|
||||||
PenaltyBreakFirstLessLess: 120
|
PenaltyBreakFirstLessLess: 120
|
||||||
PenaltyBreakString: 1000
|
PenaltyBreakString: 1000
|
||||||
@@ -96,7 +96,7 @@ PointerAlignment: Right
|
|||||||
# - 'cpp'
|
# - 'cpp'
|
||||||
# BasedOnStyle: llvm
|
# BasedOnStyle: llvm
|
||||||
# CanonicalDelimiter: 'cc'
|
# CanonicalDelimiter: 'cc'
|
||||||
ReflowComments: true
|
ReflowComments: false
|
||||||
SortIncludes: false
|
SortIncludes: false
|
||||||
SpaceAfterCStyleCast: false
|
SpaceAfterCStyleCast: false
|
||||||
# SpaceAfterTemplateKeyword: true
|
# SpaceAfterTemplateKeyword: true
|
||||||
@@ -107,7 +107,7 @@ SpaceBeforeAssignmentOperators: true
|
|||||||
SpaceBeforeParens: ControlStatements
|
SpaceBeforeParens: ControlStatements
|
||||||
# SpaceBeforeRangeBasedForLoopColon: true
|
# SpaceBeforeRangeBasedForLoopColon: true
|
||||||
SpaceInEmptyParentheses: false
|
SpaceInEmptyParentheses: false
|
||||||
SpacesBeforeTrailingComments: 2
|
SpacesBeforeTrailingComments: 1
|
||||||
SpacesInAngles: false
|
SpacesInAngles: false
|
||||||
SpacesInCStyleCastParentheses: false
|
SpacesInCStyleCastParentheses: false
|
||||||
# SpacesInContainerLiterals: false
|
# SpacesInContainerLiterals: false
|
||||||
@@ -118,5 +118,5 @@ SpacesInSquareBrackets: false
|
|||||||
# used by some of the core jemalloc developers.
|
# used by some of the core jemalloc developers.
|
||||||
# StatementMacros: []
|
# StatementMacros: []
|
||||||
TabWidth: 8
|
TabWidth: 8
|
||||||
UseTab: Never
|
UseTab: ForIndentation
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user