summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-04-25 10:46:26 +0200
committerFlorin Coras <florin.coras@gmail.com>2021-04-27 14:29:23 +0000
commit23c3488b9ba27ca1c146f817eb98aec8d2537cac (patch)
treeb7cb8cfaede6d507afa96d574e0848285019ca8c /.clang-format
parent83b2f5e34bba21f9ce8f04719715d3b85b16a2e8 (diff)
misc: add StatementMacros to .clang-format
Type: make Change-Id: I79d8d0aa8b8349df0b3c1f338861350e8df31ca6 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format6
1 files changed, 6 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index bce671f766c..b925f8c2f03 100644
--- a/.clang-format
+++ b/.clang-format
@@ -20,3 +20,9 @@ ForEachMacros:
- 'vlib_foreach_rx_tx'
- 'foreach_vlib_main'
+StatementMacros:
+ - 'CLIB_MULTIARCH_FN'
+ - 'VLIB_NODE_FN'
+ - 'VNET_DEVICE_CLASS_TX_FN'
+ - '__clib_section'
+ - '__clib_aligned'