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