Update .clang-format, .editorconfig and .gitignore
This commit is contained in:
parent
4cf68f86a4
commit
f2d67bcf13
@ -5,32 +5,9 @@ Language: Cpp
|
||||
|
||||
AccessModifierOffset: -4
|
||||
AlwaysBreakTemplateDeclarations: Yes
|
||||
BreakBeforeBraces: Allman
|
||||
BreakConstructorInitializers: BeforeComma
|
||||
BreakInheritanceList: BeforeComma
|
||||
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||
PointerAlignment: Left
|
||||
SpaceAfterTemplateKeyword: false
|
||||
|
||||
IncludeCategories:
|
||||
- Regex: 'stdafx'
|
||||
Priority: -1
|
||||
- Regex: 'Windows'
|
||||
Priority: 0
|
||||
|
||||
BreakBeforeBraces: Custom
|
||||
BraceWrapping:
|
||||
AfterCaseLabel: true
|
||||
AfterClass: true
|
||||
AfterControlStatement: Always
|
||||
AfterEnum: true
|
||||
AfterFunction: true
|
||||
AfterNamespace: true
|
||||
AfterStruct: true
|
||||
AfterUnion: true
|
||||
AfterExternBlock: true
|
||||
BeforeCatch: true
|
||||
BeforeElse: true
|
||||
IndentBraces: false
|
||||
SplitEmptyFunction: true
|
||||
SplitEmptyRecord: true
|
||||
SplitEmptyNamespace: true
|
||||
|
@ -10,8 +10,8 @@ trim_trailing_whitespace = true
|
||||
[*.{c,h,cpp,hpp}]
|
||||
indent_size = 4
|
||||
|
||||
[*.md]
|
||||
[*.{md,yml}]
|
||||
indent_size = 2
|
||||
|
||||
[*.yml]
|
||||
[{CMakeLists.txt,*.cmake}]
|
||||
indent_size = 2
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -362,4 +362,4 @@ MigrationBackup/
|
||||
FodyWeavers.xsd
|
||||
|
||||
### Custom ###
|
||||
build
|
||||
build/
|
||||
|
Loading…
Reference in New Issue
Block a user