modify clang-format to be more inline with linux kernel

This commit is contained in:
2025-06-20 12:49:59 +02:00
parent 06c3b2c6e7
commit 4c8e3ef4c9

View File

@@ -84,7 +84,7 @@ BinPackArguments: false # false: function calls either on
# pointer alignment
# ---------------------------
DerivePointerAlignment: false # automatically detect pointer alignment
PointerAlignment: Left # (Left,Right,Middle)
PointerAlignment: Right # (Left,Right,Middle)
ReferenceAlignment: Pointer # (Pointer,Left,Right,Middle)
QualifierAlignment: Right # (Leave,Left,Right,Custom)
@@ -192,7 +192,7 @@ BitFieldColonSpacing: Both # (Both,None,Before,After)
IndentAccessModifiers: false
IndentCaseLabels: false
IndentCaseBlocks: false
IndentGotoLabels: true
IndentGotoLabels: false
IndentExternBlock: AfterExternBlock # (AfterExternBlock,NoIndent,Indent)
IndentRequiresClause: false
IndentPPDirectives: None # preprocessor indent style (None,AfterHash,BeforeHash)
@@ -209,4 +209,3 @@ ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
...
..