This commit is contained in:
SimonFJ20 2023-04-11 19:47:28 +02:00
commit 52a1785b51
3 changed files with 19 additions and 0 deletions

16
.clang-format Normal file
View File

@ -0,0 +1,16 @@
BasedOnStyle: WebKit
UseTab: Always
IndentWidth: 4
TabWidth: 4
ColumnLimit: 80
IndentCaseLabels: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: true
SplitEmptyFunction: false
AlignAfterOpenBracket: BlockIndent
AlignOperands: AlignAfterOperator
BreakBeforeBinaryOperators: true
BinPackArguments: false
BinPackParameters: false

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
a.out

1
main.c Normal file
View File

@ -0,0 +1 @@
int main(void) { *(int volatile*)0 = 0; }