浏览代码

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.
Timothy Flynn 2 年之前
父节点
当前提交
1e733b1cf4
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      .clang-format

+ 6 - 6
.clang-format

@@ -1,16 +1,16 @@
 ---
 ---
 Language: Cpp
 Language: Cpp
-BasedOnStyle: WebKit
-SpaceAfterTemplateKeyword: false
 AlignEscapedNewlines: Left
 AlignEscapedNewlines: Left
 AlignTrailingComments: true
 AlignTrailingComments: true
+BasedOnStyle: WebKit
+BraceWrapping:
+    AfterFunction: true
+BreakBeforeBraces: Custom
 BreakBeforeInheritanceComma: true
 BreakBeforeInheritanceComma: true
 BreakConstructorInitializers: BeforeComma
 BreakConstructorInitializers: BeforeComma
 IndentPPDirectives: AfterHash
 IndentPPDirectives: AfterHash
-BreakBeforeBraces: Custom
-BraceWrapping:
-    AfterFunction: true
+IndentRequiresClause: false
 NamespaceIndentation: None
 NamespaceIndentation: None
 QualifierAlignment: Right
 QualifierAlignment: Right
 RequiresClausePosition: WithFollowing
 RequiresClausePosition: WithFollowing
-IndentRequiresClause: false
+SpaceAfterTemplateKeyword: false