Created
April 26, 2019 14:39
-
-
Save Jacajack/bee8c2d5f4353b4f0931ab28fdee6d2b to your computer and use it in GitHub Desktop.
Almost satisfying clang-format-9 config file
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
--- | |
BasedOnStyle: LLVM | |
TabWidth: 4 | |
IndentWidth: 4 | |
UseTab: Always | |
ColumnLimit: 0 | |
--- | |
Language: Cpp | |
AccessModifierOffset: 0 | |
AlignAfterOpenBracket: DontAlign | |
AlignConsecutiveAssignments: false | |
AlignConsecutiveDeclarations: false | |
AlignEscapedNewlines: Left | |
AlignOperands: false | |
AlignTrailingComments: false | |
AllowAllArgumentsOnNextLine: true | |
AllowAllConstructorInitializersOnNextLine: false | |
AllowAllParametersOfDeclarationOnNextLine: false | |
AllowShortBlocksOnASingleLine: true | |
AllowShortCaseLabelsOnASingleLine: true | |
AllowShortFunctionsOnASingleLine: Empty | |
AllowShortIfStatementsOnASingleLine: Never | |
AllowShortLambdasOnASingleLine: All | |
AllowShortLoopsOnASingleLine: true | |
AlwaysBreakAfterReturnType: None | |
AlwaysBreakBeforeMultilineStrings: false | |
AlwaysBreakTemplateDeclarations: Yes | |
BinPackArguments: true | |
BinPackParameters: true | |
BreakBeforeBraces: Allman | |
BraceWrapping: | |
AfterCaseLabel: true | |
AfterClass: true | |
AfterControlStatement: true | |
AfterEnum: true | |
AfterFunction: true | |
AfterNamespace: true | |
AfterStruct: true | |
AfterUnion: true | |
AfterExternBlock: true | |
BeforeCatch: true | |
BeforeElse: true | |
IndentBraces: false | |
SplitEmptyFunction: false | |
SplitEmptyRecord: false | |
SplitEmptyNamespace: false | |
BreakBeforeBinaryOperators: None | |
BreakBeforeTernaryOperators: false | |
BreakConstructorInitializers: AfterColon | |
BreakInheritanceList: AfterColon | |
BreakStringLiterals: false | |
CompactNamespaces: false | |
ConstructorInitializerAllOnOneLineOrOnePerLine: true | |
ConstructorInitializerIndentWidth: 1 | |
Cpp11BracedListStyle: true | |
DerivePointerAlignment: true | |
PointerAlignment: Right | |
FixNamespaceComments: false | |
IncludeBlocks: Preserve | |
SortIncludes: false | |
IndentWrappedFunctionNames: false | |
KeepEmptyLinesAtTheStartOfBlocks: false | |
NamespaceIndentation: All | |
SortUsingDeclarations: false | |
SpaceAfterCStyleCast: true | |
SpaceAfterLogicalNot: false | |
SpaceAfterTemplateKeyword: true | |
SpaceBeforeAssignmentOperators: true | |
SpaceBeforeCpp11BracedList: false | |
SpaceBeforeCtorInitializerColon: true | |
SpaceBeforeInheritanceColon: true | |
SpaceBeforeRangeBasedForLoopColon: true | |
SpaceBeforeParens: ControlStatements | |
SpaceInEmptyParentheses: true | |
SpacesInAngles: false | |
SpacesInCStyleCastParentheses: false | |
SpacesInContainerLiterals: false | |
SpacesInParentheses: true | |
SpacesInSquareBrackets: false | |
SpacesBeforeTrailingComments: 4 | |
ReflowComments: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment