Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
nat: cleanup of deprecated features
[vpp.git]
/
.clang-format
diff --git
a/.clang-format
b/.clang-format
index
8b5c955
..
8326a07
100644
(file)
--- a/
.clang-format
+++ b/
.clang-format
@@
-1,4
+1,4
@@
-# Minimal clang-format version is
8
+# Minimal clang-format version is
11
BasedOnStyle: GNU
UseTab: Always
BasedOnStyle: GNU
UseTab: Always
@@
-18,4
+18,17
@@
ForEachMacros:
- 'vec_foreach_index'
- 'vec_foreach_index_backwards'
- 'vlib_foreach_rx_tx'
- 'vec_foreach_index'
- 'vec_foreach_index_backwards'
- 'vlib_foreach_rx_tx'
+ - 'foreach_vlib_main'
+ - 'foreach_set_bit_index'
+ - 'RTE_ETH_FOREACH_DEV'
+StatementMacros:
+ - 'CLIB_MULTIARCH_FN'
+ - 'VLIB_NODE_FN'
+ - 'VNET_DEVICE_CLASS_TX_FN'
+ - '__clib_section'
+ - '__clib_aligned'
+
+WhitespaceSensitiveMacros:
+ - 'WARN_ON'
+ - 'WARN_OFF'