mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 02:02:18 +00:00
build: make clang-format ignore DEFUN/DEFPY
This makes clang-format not wreck all our hand-formatted DEFUN/DEFPY statements. We apparently missed this option when we originally looked at setting up the .clang-format control file... Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
5ed6db5e9e
commit
f39761e793
@ -207,4 +207,21 @@ SpacesInSquareBrackets: false
|
|||||||
Standard: Cpp03
|
Standard: Cpp03
|
||||||
TabWidth: 8
|
TabWidth: 8
|
||||||
UseTab: Always
|
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"
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user