Created
March 28, 2019 01:31
-
-
Save alexeden/ae5e4d7fcb52add7606e9eb13214dae6 to your computer and use it in GitHub Desktop.
clang-format Config
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: Mozilla | |
| AccessModifierOffset: -2 | |
| AlignAfterOpenBracket: AlwaysBreak | |
| AlignConsecutiveAssignments: true | |
| AlignConsecutiveDeclarations: false | |
| AlignEscapedNewlines: Left | |
| AlignTrailingComments: true | |
| AlignOperands: true | |
| AllowAllParametersOfDeclarationOnNextLine: true | |
| AllowShortBlocksOnASingleLine: true | |
| AllowShortFunctionsOnASingleLine: None | |
| AllowShortIfStatementsOnASingleLine: true | |
| AllowShortLoopsOnASingleLine: true | |
| AlwaysBreakAfterDefinitionReturnType: None | |
| AlwaysBreakAfterReturnType: None | |
| PenaltyReturnTypeOnItsOwnLine: 0 | |
| AlwaysBreakBeforeMultilineStrings: false | |
| AlwaysBreakTemplateDeclarations: Yes | |
| BinPackArguments: false | |
| BinPackParameters: false | |
| BreakBeforeBinaryOperators: true | |
| BreakBeforeBraces: Custom | |
| BraceWrapping: | |
| AfterClass: false | |
| AfterControlStatement: false | |
| AfterEnum: false | |
| AfterFunction: false | |
| AfterNamespace: true | |
| AfterStruct: false | |
| AfterUnion: false | |
| AfterExternBlock: true | |
| BeforeCatch: true | |
| BeforeElse: true | |
| IndentBraces: false | |
| SplitEmptyFunction: false | |
| SplitEmptyRecord: false | |
| SplitEmptyNamespace: true | |
| BreakBeforeBinaryOperators: All | |
| BreakBeforeTernaryOperators: true | |
| BreakConstructorInitializers: BeforeComma | |
| BreakInheritanceList: BeforeComma | |
| ColumnLimit: '120' | |
| CompactNamespaces: false | |
| ConstructorInitializerAllOnOneLineOrOnePerLine: false | |
| ConstructorInitializerIndentWidth: 2 | |
| Cpp11BracedListStyle: false | |
| DerivePointerAlignment: true | |
| FixNamespaceComments: true | |
| IncludeBlocks: Merge | |
| IndentCaseLabels: true | |
| IndentPPDirectives: AfterHash | |
| IndentWidth: 4 | |
| IndentWrappedFunctionNames: false | |
| KeepEmptyLinesAtTheStartOfBlocks: false | |
| MaxEmptyLinesToKeep: 1 | |
| NamespaceIndentation: All | |
| PenaltyBreakBeforeFirstCallParameter: 99999999 | |
| PointerAlignment: Right | |
| ReflowComments: true | |
| SortIncludes: true | |
| SortUsingDeclarations: true | |
| SpaceAfterCStyleCast: true | |
| SpaceAfterTemplateKeyword: false | |
| SpaceBeforeAssignmentOperators: true | |
| SpaceBeforeCpp11BracedList: false | |
| SpaceBeforeCtorInitializerColon: true | |
| SpaceBeforeInheritanceColon: true | |
| SpaceBeforeParens: ControlStatements | |
| SpaceBeforeRangeBasedForLoopColon: true | |
| SpaceInEmptyParentheses: false | |
| SpacesBeforeTrailingComments: 1 | |
| SpacesInAngles: false | |
| SpacesInCStyleCastParentheses: false | |
| SpacesInContainerLiterals: false | |
| SpacesInParentheses: false | |
| SpacesInSquareBrackets: false | |
| Standard: Auto | |
| TabWidth: 4 | |
| UseTab: Always | |
| ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment