aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2022-03-25 17:24:26 +0100
committerFlorin Coras <florin.coras@gmail.com>2022-03-25 21:07:38 +0000
commit5b12d2694ed34b01e3757190df64312a0ad7d398 (patch)
tree3f4cf4e63e3624c9276f1c058f47b2a7cf10a889 /.clang-format
parent64841a9004a68be27ce9a161c6e9565d0eff33b4 (diff)
build: update .clang-format
Type: make Change-Id: Iedf7af3f070cc3875f44adba38523b72f5e5ab43 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format6
1 files changed, 5 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index 2265e96857b..8326a07251b 100644
--- 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
@@ -28,3 +28,7 @@ StatementMacros:
- 'VNET_DEVICE_CLASS_TX_FN'
- '__clib_section'
- '__clib_aligned'
+
+WhitespaceSensitiveMacros:
+ - 'WARN_ON'
+ - 'WARN_OFF'