diff --git a/.clang-format b/.clang-format index a5b87e0ba..fceb426b3 100644 --- a/.clang-format +++ b/.clang-format @@ -3,7 +3,6 @@ BasedOnStyle: Google AccessModifierOffset: -2 AlignAfterOpenBracket: Align -AlignArrayOfStructures: Right AlignConsecutiveMacros: AcrossEmptyLinesAndComments AlignEscapedNewlines: LeftWithLastLine AlignOperands: AlignAfterOperator @@ -40,8 +39,10 @@ ColumnLimit: 120 ConstructorInitializerIndentWidth: 2 ContinuationIndentWidth: 4 DerivePointerAlignment: false +EmptyLineBeforeAccessModifier: Always IncludeBlocks: Preserve IndentAccessModifiers: false +IndentCaseLabels: false IndentExternBlock: NoIndent InsertBraces: false InsertNewlineAtEOF: true @@ -49,6 +50,7 @@ LambdaBodyIndentation: OuterScope PackConstructorInitializers: CurrentLine PointerAlignment: Middle RemoveBracesLLVM: true +RemoveSemicolon: true QualifierAlignment: Right SpacesInContainerLiterals: false Standard: Latest