mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02: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
|
||||
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"
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue