format: configure clang-format to support type definitions BEGIN/END macros
This commit is contained in:
@@ -4,6 +4,7 @@ IndentWidth: 8
|
|||||||
Language: Cpp
|
Language: Cpp
|
||||||
DerivePointerAlignment: false
|
DerivePointerAlignment: false
|
||||||
PointerAlignment: Right
|
PointerAlignment: Right
|
||||||
|
ReferenceAlignment: Left
|
||||||
ColumnLimit: 80
|
ColumnLimit: 80
|
||||||
AlignAfterOpenBracket: AlwaysBreak
|
AlignAfterOpenBracket: AlwaysBreak
|
||||||
AlignConsecutiveAssignments: None
|
AlignConsecutiveAssignments: None
|
||||||
@@ -52,7 +53,9 @@ PenaltyBreakOpenParenthesis: 5
|
|||||||
PenaltyBreakBeforeFirstCallParameter: 5
|
PenaltyBreakBeforeFirstCallParameter: 5
|
||||||
PenaltyIndentedWhitespace: 0
|
PenaltyIndentedWhitespace: 0
|
||||||
AttributeMacros:
|
AttributeMacros:
|
||||||
- BLUELIB_API
|
- BLUE_API
|
||||||
ForEachMacros:
|
ForEachMacros:
|
||||||
- b_btree_foreach
|
- b_btree_foreach
|
||||||
- b_queue_foreach
|
- b_queue_foreach
|
||||||
|
MacroBlockBegin: "^B_.*_BEGIN$"
|
||||||
|
MacroBlockEnd: "^B_.*_END$"
|
||||||
|
|||||||
Reference in New Issue
Block a user