diff --git a/.clang-format b/.clang-format index ebcac082c6a..e65353af4e4 100644 --- a/.clang-format +++ b/.clang-format @@ -10,7 +10,7 @@ AccessModifierOffset: -1 AlignAfterOpenBracket: Align AlignArrayOfStructures: None AlignConsecutiveAssignments: - Enabled: false + Enabled: true AcrossEmptyLines: false AcrossComments: false AlignCompound: true @@ -22,10 +22,12 @@ AlignConsecutiveBitFields: AlignCompound: true PadOperators: true AlignConsecutiveDeclarations: - Enabled: false + Enabled: true AcrossEmptyLines: false AcrossComments: false AlignCompound: false + AlignFunctionDeclarations: false + AlignFunctionPointers: true PadOperators: false AlignConsecutiveMacros: Enabled: true @@ -152,7 +154,7 @@ LambdaBodyIndentation: Signature LineEnding: DeriveLF MacroBlockBegin: "" MacroBlockEnd: "" -MaxEmptyLinesToKeep: 2 +MaxEmptyLinesToKeep: 1 NamespaceIndentation: All ObjCBinPackProtocolList: Auto ObjCBlockIndentWidth: 2