Created
August 13, 2025 17:35
-
-
Save ronen-fr/504e7ed29785fcf645610a66c5b5c031 to your computer and use it in GitHub Desktop.
clang-format as of 13.8.25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| Language: Cpp | |
| BasedOnStyle: Google | |
| AlignAfterOpenBracket: AlwaysBreak | |
| AllowShortBlocksOnASingleLine: false | |
| AllowShortCaseLabelsOnASingleLine: false | |
| AllowShortFunctionsOnASingleLine: Inline | |
| #AllowShortFunctionsOnASingleLine: Empty | |
| AllowShortIfStatementsOnASingleLine: false | |
| AllowShortLambdasOnASingleLine: All | |
| AllowShortLoopsOnASingleLine: false | |
| AllowAllConstructorInitializersOnNextLine: false | |
| AllowAllArgumentsOnNextLine: true | |
| BinPackArguments: true | |
| ColumnLimit: 80 | |
| MaxEmptyLinesToKeep: 2 | |
| EmptyLineBeforeAccessModifier: Leave | |
| Cpp11BracedListStyle: true | |
| BinPackParameters: false | |
| BreakBeforeBraces: Custom | |
| BraceWrapping: | |
| SplitEmptyFunction: false | |
| AfterCaseLabel: false | |
| AfterClass: false | |
| AfterStruct: false | |
| AfterFunction: true | |
| AfterControlStatement: Never | |
| BeforeCatch: false | |
| BeforeElse: false | |
| BeforeLambdaBody: false | |
| DerivePointerAlignment: true | |
| IndentWrappedFunctionNames: false | |
| PointerAlignment: Left | |
| AlwaysBreakTemplateDeclarations: Yes | |
| BreakConstructorInitializers: BeforeComma | |
| KeepEmptyLinesAtTheStartOfBlocks: true | |
| ContinuationIndentWidth: 4 | |
| TabWidth: 8 | |
| UseTab: Always | |
| Standard: c++20 | |
| FixNamespaceComments: true | |
| AllowAllParametersOfDeclarationOnNextLine: false | |
| LambdaBodyIndentation: Signature | |
| PackConstructorInitializers: CurrentLine | |
| SpacesInLineCommentPrefix: | |
| Minimum: 1 | |
| Maximum: -1 | |
| PenaltyBreakComment: 0 | |
| SeparateDefinitionBlocks: Leave | |
| ReflowComments: false | |
| SortIncludes: true | |
| IncludeBlocks: Regroup | |
| IncludeCategories: | |
| - Regex: 'debug.h' | |
| Priority: 4 | |
| - Regex: '\"\./[^/]+\"' | |
| Priority: 1 | |
| - Regex: '\"[^/]+\"' | |
| Priority: 8 | |
| - Regex: 'boost' | |
| Priority: 5 | |
| - Regex: '<.*\.h' | |
| Priority: 2 | |
| - Regex: '<' | |
| Priority: 3 | |
| - Regex: '.*' | |
| Priority: 6 | |
| ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment