This commit is contained in:
Hugo Mårdbrink 2023-12-01 13:46:02 +01:00
commit 4ea258eb1f
6 changed files with 1111 additions and 0 deletions

28
.clang-tidy Normal file
View file

@ -0,0 +1,28 @@
Checks: "-*,clang-analyzer-*"
ColumnLimit: 120
HeaderFilterRegex: ".*"
FormatStyle: file
DeriveLineEnding: false
IndentWidth: 2
TabWidth: 2
UseTab: Always
SpacesBeforeTrailingComments: 1
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpacesInAngles: false
BreakBeforeBraces: Allman
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
AfterLambda: true