modify clang-format to be more inline with linux kernel
This commit is contained in:
@@ -84,7 +84,7 @@ BinPackArguments: false # false: function calls either on
|
|||||||
# pointer alignment
|
# pointer alignment
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
DerivePointerAlignment: false # automatically detect pointer alignment
|
DerivePointerAlignment: false # automatically detect pointer alignment
|
||||||
PointerAlignment: Left # (Left,Right,Middle)
|
PointerAlignment: Right # (Left,Right,Middle)
|
||||||
ReferenceAlignment: Pointer # (Pointer,Left,Right,Middle)
|
ReferenceAlignment: Pointer # (Pointer,Left,Right,Middle)
|
||||||
QualifierAlignment: Right # (Leave,Left,Right,Custom)
|
QualifierAlignment: Right # (Leave,Left,Right,Custom)
|
||||||
|
|
||||||
@@ -192,7 +192,7 @@ BitFieldColonSpacing: Both # (Both,None,Before,After)
|
|||||||
IndentAccessModifiers: false
|
IndentAccessModifiers: false
|
||||||
IndentCaseLabels: false
|
IndentCaseLabels: false
|
||||||
IndentCaseBlocks: false
|
IndentCaseBlocks: false
|
||||||
IndentGotoLabels: true
|
IndentGotoLabels: false
|
||||||
IndentExternBlock: AfterExternBlock # (AfterExternBlock,NoIndent,Indent)
|
IndentExternBlock: AfterExternBlock # (AfterExternBlock,NoIndent,Indent)
|
||||||
IndentRequiresClause: false
|
IndentRequiresClause: false
|
||||||
IndentPPDirectives: None # preprocessor indent style (None,AfterHash,BeforeHash)
|
IndentPPDirectives: None # preprocessor indent style (None,AfterHash,BeforeHash)
|
||||||
@@ -209,4 +209,3 @@ ObjCBreakBeforeNestedBlockParam: true
|
|||||||
ObjCSpaceAfterProperty: false
|
ObjCSpaceAfterProperty: false
|
||||||
ObjCSpaceBeforeProtocolList: true
|
ObjCSpaceBeforeProtocolList: true
|
||||||
...
|
...
|
||||||
..
|
|
||||||
|
|||||||
Reference in New Issue
Block a user