improved formatting and fixed clangd includes
This commit is contained in:
135
.clang-format
Normal file
135
.clang-format
Normal file
@@ -0,0 +1,135 @@
|
||||
---
|
||||
|
||||
|
||||
Language: Cpp
|
||||
|
||||
|
||||
AccessModifierOffset: -4
|
||||
|
||||
|
||||
AlignAfterOpenBracket: Align
|
||||
|
||||
|
||||
AlignConsecutiveMacros: false
|
||||
|
||||
|
||||
AlignConsecutiveAssignments: false
|
||||
|
||||
|
||||
AlignConsecutiveDeclarations: false
|
||||
|
||||
|
||||
AlignEscapedNewlines: Right
|
||||
|
||||
|
||||
AlignOperands: true
|
||||
|
||||
|
||||
AlignTrailingComments: true
|
||||
|
||||
|
||||
AllowAllArgumentsOnNextLine: false
|
||||
|
||||
|
||||
AllowAllConstructorInitializersOnNextLine: true
|
||||
|
||||
|
||||
AllowAllParametersOfDeclarationOnNextLine: false
|
||||
|
||||
|
||||
AllowShortBlocksOnASingleLine: Never
|
||||
|
||||
|
||||
AllowShortCaseLabelsOnASingleLine: false
|
||||
|
||||
|
||||
AllowShortFunctionsOnASingleLine: None
|
||||
|
||||
|
||||
AllowShortLambdasOnASingleLine: All
|
||||
|
||||
|
||||
AllowShortIfStatementsOnASingleLine: Never
|
||||
|
||||
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
|
||||
|
||||
AlwaysBreakAfterDefinitionReturnType: None
|
||||
|
||||
|
||||
AlwaysBreakAfterReturnType: None
|
||||
|
||||
|
||||
AlwaysBreakBeforeMultilineStrings: false
|
||||
|
||||
|
||||
AlwaysBreakTemplateDeclarations: Yes
|
||||
|
||||
|
||||
BinPackArguments: false
|
||||
|
||||
|
||||
BinPackParameters: false
|
||||
|
||||
|
||||
BraceWrapping:
|
||||
|
||||
|
||||
AfterCaseLabel: true
|
||||
|
||||
|
||||
AfterClass: true
|
||||
|
||||
|
||||
AfterControlStatement: true
|
||||
|
||||
|
||||
AfterEnum: true
|
||||
|
||||
|
||||
AfterFunction: true
|
||||
|
||||
|
||||
AfterNamespace: true
|
||||
|
||||
|
||||
AfterObjCDeclaration: true
|
||||
|
||||
|
||||
AfterStruct: true
|
||||
|
||||
|
||||
AfterUnion: true
|
||||
|
||||
|
||||
AfterExternBlock: true
|
||||
|
||||
|
||||
BeforeCatch: true
|
||||
|
||||
|
||||
BeforeElse: true
|
||||
|
||||
|
||||
IndentBraces: false
|
||||
|
||||
|
||||
SplitEmptyFunction: true
|
||||
|
||||
|
||||
SplitEmptyRecord: true
|
||||
|
||||
|
||||
SplitEmptyNamespace: true
|
||||
|
||||
|
||||
BreakBeforeBinaryOperators: None
|
||||
|
||||
|
||||
BreakBeforeBraces: Custom
|
||||
|
||||
|
||||
BreakBeforeInheritanceComma: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user