diff --git a/.clang-format b/.clang-format index 6b4a6ef756..ee3154c503 100644 --- a/.clang-format +++ b/.clang-format @@ -1,36 +1,37 @@ --- Language: Cpp BasedOnStyle: Google AccessModifierOffset: -2 AlignEscapedNewlinesLeft: false AllowShortFunctionsOnASingleLine: Inline AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: true BinPackArguments: false BinPackParameters: false BreakBeforeBraces: Allman BreakBeforeTernaryOperators: false ColumnLimit: 120 ConstructorInitializerIndentWidth: 2 ContinuationIndentWidth: 2 DerivePointerAlignment: false # order of windows.h and psapi.h needs to be preserved to avoid build errors +SortIncludes: false IncludeCategories: - Regex: '[Ww]indows.h' Priority: 2 - Regex: '[Pp]sapi.h' Priority: 3 - Regex: '.\*' Priority: 1 IndentFunctionDeclarationAfterType: false IndentWidth: 2 IndentWrappedFunctionNames: true NamespaceIndentation: Inner PointerAlignment: Right SpacesBeforeTrailingComments: 1 Standard: Cpp11 TabWidth: 2 UseTab: Never ...