diff options
Diffstat (limited to '')
-rw-r--r-- | .clang-format | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index d16263d..06769c9 100644 --- a/.clang-format +++ b/.clang-format @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 # clang-format configuration file. Intended for clang-format >= 11. +# If the version is changed also check that CI tool frrbot is updated. # # For more information, see: # @@ -206,4 +207,21 @@ SpacesInSquareBrackets: false Standard: Cpp03 TabWidth: 8 UseTab: Always +WhitespaceSensitiveMacros: + - "DEFPY" + - "DEFPY_HIDDEN" + - "DEFPY_NOSH" + - "DEFPY_YANG" + - "DEFPY_YANG_HIDDEN" + - "DEFPY_YANG_NOSH" + - "DEFSH" + - "DEFSH_HIDDEN" + - "DEFUN" + - "DEFUN_HIDDEN" + - "DEFUN_NOSH" + - "DEFUN_YANG" + - "DEFUN_YANG_HIDDEN" + - "DEFUN_YANG_NOSH" + - "DEFUNSH" + - "DEFUNSH_HIDDEN" ... |