clang-format: add for_each_bit macros to ForEachMacros

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
Pavel Tikhomirov 2023-01-16 18:22:07 +03:00 committed by Andrei Vagin
parent c8b4fb9ba5
commit abfe0b5d24
2 changed files with 2 additions and 0 deletions

View file

@ -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;