This commit is contained in:
Lauri Räsänen 2021-07-24 16:42:22 +03:00
commit b138a33a71
107 changed files with 10966 additions and 0 deletions

17
.clang-format Executable file
View file

@ -0,0 +1,17 @@
UseTab: Always
IndentWidth: 8
TabWidth: 8
ContinuationIndentWidth: 8
BreakBeforeBraces: Allman
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveMacros: true
AlignConsecutiveAssignments: true
# AlignConsecutiveDeclarations: true # this breaks things even in 13.0 :(
AlignTrailingComments: true
AlignOperands: true
AllowShortIfStatementsOnASingleLine: true
AllowShortBlocksOnASingleLine: true
IndentCaseLabels: false
ColumnLimit: 0
PointerAlignment: Right
# DanglingParenthesis: true # https://reviews.llvm.org/D33029