From 1abda0c83981a6d35dd4b2dd3e88e9886d13cb09 Mon Sep 17 00:00:00 2001 From: Vibhav Pant Date: Wed, 30 Nov 2022 23:07:44 +0530 Subject: [PATCH] ; Make clang-format format indent preprocessor blocks correctly. --- .clang-format | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2