Fix code format and add Style object (unused)

This commit is contained in:
Corentin 2022-10-01 05:03:16 +09:00
commit d15b25dba6
25 changed files with 320 additions and 201 deletions

View file

@ -1,5 +1,5 @@
BasedOnStyle: Microsoft
AccessModifierOffset: -3
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: None
@ -21,7 +21,7 @@ AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: No
AttributeMacros: ['__ununsed']
AttributeMacros: ['__unused']
BinPackArguments: true
BinPackParameters: true
BitFieldColonSpacing: Both
@ -50,12 +50,13 @@ BreakBeforeTernaryOperators: true
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
BreakStringLiterals: true
ColumnLimit: 140
ColumnLimit: 120
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
FixNamespaceComments: true
IncludeBlocks: Regroup
@ -78,13 +79,14 @@ IncludeCategories:
- Regex: '^"'
Priority: 4
SortPriority: 4
IndentAccessModifiers: false
IndentCaseBlocks: true
IndentCaseLabels: true
IndentExternBlock: NoIndent
IndentGotoLabels: false
IndentPPDirectives: BeforeHash
IndentRequires: true
IndentWidth: 3
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertTrailingCommas: None
KeepEmptyLinesAtTheStartOfBlocks: false
@ -116,6 +118,6 @@ SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: c++17
TabWidth: 3
TabWidth: 4
UseCRLF: false
UseTab: Always
UseTab: Always