Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
hs-test: support for multiple workers
[vpp.git]
/
.clang-format
diff --git
a/.clang-format
b/.clang-format
index
2265e96
..
1471d0f
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
@@
-20,6
+20,7
@@
ForEachMacros:
- 'vlib_foreach_rx_tx'
- 'foreach_vlib_main'
- 'foreach_set_bit_index'
- 'vlib_foreach_rx_tx'
- 'foreach_vlib_main'
- 'foreach_set_bit_index'
+ - 'FOREACH_ARRAY_ELT'
- 'RTE_ETH_FOREACH_DEV'
StatementMacros:
- 'RTE_ETH_FOREACH_DEV'
StatementMacros:
@@
-28,3
+29,7
@@
StatementMacros:
- 'VNET_DEVICE_CLASS_TX_FN'
- '__clib_section'
- '__clib_aligned'
- 'VNET_DEVICE_CLASS_TX_FN'
- '__clib_section'
- '__clib_aligned'
+
+WhitespaceSensitiveMacros:
+ - 'WARN_ON'
+ - 'WARN_OFF'