summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorElliot Berman <quic_eberman@quicinc.com>2023-12-08 14:08:29 -0800
committerMiguel Ojeda <ojeda@kernel.org>2023-12-08 23:53:49 +0100
commit2a0b726b0419b0c1c5a32e7c3336285e69e65fd6 (patch)
tree5d89e1d7d95829d0e264a48cfa62f9ecbe0fdd30 /.clang-format
parent33cc938e65a98f1d29d0a18403dbbee050dcad9a (diff)
clang-format: Add maple tree's for_each macros
Add maple tree's for_each macros so clang-format operates correctly on {mt,mas}_for_each. Signed-off-by: Elliot Berman <quic_eberman@quicinc.com> Link: https://lore.kernel.org/r/20231208-clang-format-mt-for-each-v1-1-b4b73186b886@quicinc.com [ Sorted properly. ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format2
1 files changed, 2 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 0bbb1991defe..2ee89fe6a3d1 100644
--- a/.clang-format
+++ b/.clang-format
@@ -494,12 +494,14 @@ ForEachMacros:
- 'map_for_each_metric'
- 'maps__for_each_entry'
- 'maps__for_each_entry_safe'
+ - 'mas_for_each'
- 'mci_for_each_dimm'
- 'media_device_for_each_entity'
- 'media_device_for_each_intf'
- 'media_device_for_each_link'
- 'media_device_for_each_pad'
- 'msi_for_each_desc'
+ - 'mt_for_each'
- 'nanddev_io_for_each_page'
- 'netdev_for_each_lower_dev'
- 'netdev_for_each_lower_private'