Merge pull request #15972 from opensourcerouting/clang-ignore-defuns

build: make clang-format ignore DEFUN/DEFPY
This commit is contained in:
Donald Sharp 2024-05-09 07:09:48 -04:00 committed by GitHub
commit b19f624fba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"
...