update clang-format to use new(er) values
This commit is contained in:
@@ -14,14 +14,14 @@ ContinuationIndentWidth: 4 # width for a line continuation
|
|||||||
# ---------------------------
|
# ---------------------------
|
||||||
# alignment options
|
# alignment options
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
AlignAfterOpenBracket: Align # (Align,DontAlign,AlwaysBreak,BlockIndent)
|
AlignAfterOpenBracket: DontAlign # (Align,DontAlign,AlwaysBreak,BlockIndent)
|
||||||
AlignArrayOfStructures: Left # (Left,Right,None)
|
AlignArrayOfStructures: Left # (Left,Right,None)
|
||||||
AlignConsecutiveMacros: AcrossEmptyLines # (None,Consecutive,AcrossEmptyLines,AcrossComments,AcrossEmptyLinesAndComments)
|
AlignConsecutiveMacros: AcrossEmptyLines # (None,Consecutive,AcrossEmptyLines,AcrossComments,AcrossEmptyLinesAndComments)
|
||||||
AlignConsecutiveAssignments: None # (None,Consecutive,AcrossEmptyLines,AcrossComments,AcrossEmptyLinesAndComments)
|
AlignConsecutiveAssignments: None # (None,Consecutive,AcrossEmptyLines,AcrossComments,AcrossEmptyLinesAndComments)
|
||||||
AlignConsecutiveBitFields: AcrossEmptyLines # (None,Consecutive,AcrossEmptyLines,AcrossComments,AcrossEmptyLinesAndComments)
|
AlignConsecutiveBitFields: AcrossEmptyLines # (None,Consecutive,AcrossEmptyLines,AcrossComments,AcrossEmptyLinesAndComments)
|
||||||
AlignConsecutiveDeclarations: None # (None,Consecutive,AcrossEmptyLines,AcrossComments,AcrossEmptyLinesAndComments)
|
AlignConsecutiveDeclarations: None # (None,Consecutive,AcrossEmptyLines,AcrossComments,AcrossEmptyLinesAndComments)
|
||||||
AlignEscapedNewlines: Left # (DontAlign,Left,LeftWithLastLine,Right)
|
AlignEscapedNewlines: Left # (DontAlign,Left,LeftWithLastLine,Right)
|
||||||
AlignOperands: Align # (DontAlign,Align,AlignAfterOperator)
|
AlignOperands: DontAlign # (DontAlign,Align,AlignAfterOperator)
|
||||||
AlignTrailingComments: Always # (Leave,Always,Never)
|
AlignTrailingComments: Always # (Leave,Always,Never)
|
||||||
|
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
@@ -86,6 +86,7 @@ BinPackArguments: false # false: function calls either on
|
|||||||
DerivePointerAlignment: false # automatically detect pointer alignment
|
DerivePointerAlignment: false # automatically detect pointer alignment
|
||||||
PointerAlignment: Left # (Left,Right,Middle)
|
PointerAlignment: Left # (Left,Right,Middle)
|
||||||
ReferenceAlignment: Pointer # (Pointer,Left,Right,Middle)
|
ReferenceAlignment: Pointer # (Pointer,Left,Right,Middle)
|
||||||
|
QualifierAlignment: Right # (Leave,Left,Right,Custom)
|
||||||
|
|
||||||
# ---------------------------
|
# ---------------------------
|
||||||
# include settings and sorting
|
# include settings and sorting
|
||||||
@@ -94,12 +95,12 @@ IncludeIsMainSourceRegex: '' # only [*.{c,cc,cpp,c++,cxx,
|
|||||||
IncludeIsMainRegex: '([-_](test|unittest))?$' # regex used for identifying an include as "main", to assign catagory 0
|
IncludeIsMainRegex: '([-_](test|unittest))?$' # regex used for identifying an include as "main", to assign catagory 0
|
||||||
IncludeBlocks: Regroup # (Preserve,Merge,Regroup)
|
IncludeBlocks: Regroup # (Preserve,Merge,Regroup)
|
||||||
IncludeCategories:
|
IncludeCategories:
|
||||||
- Regex: '^<.*\.h>' # system headers
|
- Regex: '^<.*\.h>' # system headers
|
||||||
Priority: 1
|
Priority: 2
|
||||||
SortPriority: 0
|
SortPriority: 0
|
||||||
CaseSensitive: true
|
CaseSensitive: true
|
||||||
- Regex: '^".*' # custom headers
|
- Regex: '^".*' # custom headers
|
||||||
Priority: 2
|
Priority: 3
|
||||||
SortPriority: 0
|
SortPriority: 0
|
||||||
CaseSensitive: true
|
CaseSensitive: true
|
||||||
|
|
||||||
@@ -194,7 +195,7 @@ IndentCaseBlocks: false
|
|||||||
IndentGotoLabels: true
|
IndentGotoLabels: true
|
||||||
IndentExternBlock: AfterExternBlock # (AfterExternBlock,NoIndent,Indent)
|
IndentExternBlock: AfterExternBlock # (AfterExternBlock,NoIndent,Indent)
|
||||||
IndentRequiresClause: false
|
IndentRequiresClause: false
|
||||||
IndentPPDirectives: AfterHash # preprocessor indent style (None,AfterHash,BeforeHash)
|
IndentPPDirectives: None # preprocessor indent style (None,AfterHash,BeforeHash)
|
||||||
PPIndentWidth: 1
|
PPIndentWidth: 1
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -208,3 +209,4 @@ ObjCBreakBeforeNestedBlockParam: true
|
|||||||
ObjCSpaceAfterProperty: false
|
ObjCSpaceAfterProperty: false
|
||||||
ObjCSpaceBeforeProtocolList: true
|
ObjCSpaceBeforeProtocolList: true
|
||||||
...
|
...
|
||||||
|
..
|
||||||
|
|||||||
Reference in New Issue
Block a user