mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-27 03:56:05 +00:00
clang-format: add for_each_bit macros to ForEachMacros
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
parent
c8b4fb9ba5
commit
abfe0b5d24
2 changed files with 2 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ FixNamespaceComments: false # Unknown to clang-format-4.0
|
|||
# | sort | uniq
|
||||
ForEachMacros:
|
||||
- 'for_each_pstree_item'
|
||||
- 'for_each_bit'
|
||||
- 'apei_estatus_for_each_section'
|
||||
- 'ata_for_each_dev'
|
||||
- 'ata_for_each_link'
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ curl -s "${URL}" | sed -e "
|
|||
s,ControlStatements,ControlStatementsExceptForEachMacros,g;
|
||||
s,ColumnLimit: 80,ColumnLimit: 120,g;
|
||||
s,Intended for clang-format >= 4,Intended for clang-format >= 11,g;
|
||||
s,ForEachMacros:,ForEachMacros:\n - 'for_each_bit',g;
|
||||
s,ForEachMacros:,ForEachMacros:\n - 'for_each_pstree_item',g;
|
||||
s,\(AlignTrailingComments:.*\)$,\1\nAlignConsecutiveMacros: true,g;
|
||||
s,AlignTrailingComments: false,AlignTrailingComments: true,g;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue