* `ContinuationIndentWidth: 8` ensures that in certain scenarios (e.g. array of structs, defined over multiple lines) consistently uses tabs instead of spaces for alignment. * `AlignConsecutiveMacros` improves the formatting of preprocessor instructions, see [1].
[1] https://bugs.llvm.org/show_bug.cgi?id=20637 Signed-off-by: Michael Adler <[email protected]> --- .clang-format | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.clang-format b/.clang-format index e433bf7..49dee99 100644 --- a/.clang-format +++ b/.clang-format @@ -14,3 +14,5 @@ PointerAlignment: Right ReflowComments: true SortIncludes: false UseTab: Always +ContinuationIndentWidth: 8 +AlignConsecutiveMacros: true -- 2.33.0 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/20211103084039.274022-3-michael.adler%40siemens.com.
