From 1e733b1cf49e76e41f92646a2308e2de5219f51d Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 7 Jul 2023 22:37:46 -0400 Subject: [PATCH] Meta: Alphabetize clang-format options Except for Language, which is typically first. This helps when scrolling down the list of options in the clang-format documentation. --- .clang-format | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.clang-format b/.clang-format index 9b7a6b629df..a4f18853f94 100644 --- a/.clang-format +++ b/.clang-format @@ -1,16 +1,16 @@ --- Language: Cpp -BasedOnStyle: WebKit -SpaceAfterTemplateKeyword: false AlignEscapedNewlines: Left AlignTrailingComments: true +BasedOnStyle: WebKit +BraceWrapping: + AfterFunction: true +BreakBeforeBraces: Custom BreakBeforeInheritanceComma: true BreakConstructorInitializers: BeforeComma IndentPPDirectives: AfterHash -BreakBeforeBraces: Custom -BraceWrapping: - AfterFunction: true +IndentRequiresClause: false NamespaceIndentation: None QualifierAlignment: Right RequiresClausePosition: WithFollowing -IndentRequiresClause: false +SpaceAfterTemplateKeyword: false