summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.clang-format17
1 files changed, 17 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 93ad18b98a..06769c9661 100644
--- a/.clang-format
+++ b/.clang-format
@@ -207,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"
...