X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=.clang-format;h=8326a07251b0e96fcafacfe539a8852bd1512780;hb=6e1eaad216c41ce1cb4af13a2214f4d86e094414;hp=2265e96857be6bedff194ff98c0d650b5c4e6d45;hpb=7b90f669d83f432f3610ec0da522bd8ccc4dff01;p=vpp.git 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'