From: Vibhav Pant Date: Wed, 30 Nov 2022 17:37:44 +0000 (+0530) Subject: ; Make clang-format format indent preprocessor blocks correctly. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1817 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a48cd7bb9f80d4a903f5c3971db4d7b163edbc49;p=emacs.git ; Make clang-format format indent preprocessor blocks correctly. (cherry picked from commit 1abda0c83981a6d35dd4b2dd3e88e9886d13cb09) --- diff --git a/.clang-format b/.clang-format index 2208240a669..016fb778383 100644 --- a/.clang-format +++ b/.clang-format @@ -7,6 +7,8 @@ BreakBeforeBinaryOperators: All BreakBeforeBraces: GNU ColumnLimit: 70 ContinuationIndentWidth: 2 +IndentPPDDirectives: AfterHash +PPIndentWidth: 1 ForEachMacros: - FOR_EACH_TAIL - FOR_EACH_TAIL_SAFE