AST reprogramming #5

Open
TopchetoEU wants to merge 15 commits from TopchetoEU/ast-reporgramming into master
2 changed files with 72 additions and 1 deletions
Showing only changes of commit f370824cd8 - Show all commits

70
.clang-format Normal file
View File

@ -0,0 +1,70 @@
Language: Cpp
BasedOnStyle: Google
IndentWidth: 4
UseTab: Never
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
BreakBeforeClosingBracket: true
ColumnLimit: 0
MaxEmptyLinesToKeep: 2
EmptyLineBeforeAccessModifier: Never
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeTry: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: true
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLoopsOnASingleLine: false
BreakBeforeComma: true
AlignConsecutiveAssignments: false
AlignAfterOpenBracket: BlockIndent
Cpp11BracedListStyle: false
SpaceBeforeCpp11BracedList: true
BitFieldColonSpacing: After
BreakConstructorInitializers: AfterColon
BreakInheritanceListStyle: AfterColon
SpaceBeforeCtorInitializerColon: false
SpaceBeforeInheritanceColon: false
SpaceInEmptyBlock: true
IncludeBlocks: Merge
IncludeCategories:
- Regex: '^<'
Priority: 0
SortPriority: 0
- Regex: '^"'
Priority: -1
SortPriority: 0
FixNamespaceComments: false
NamespaceIndentation: All
SpaceAfterCStyleCast: true

3
.gitignore vendored
View File

@ -31,4 +31,5 @@
!CONTRIBUTING.md
!Makefile
!README.md
!.gitignore
!.gitignore
!.clang-format