Clang format
This commit is contained in:
parent
cda4287171
commit
cc0eac299e
2 changed files with 10 additions and 0 deletions
8
.clang-format
Normal file
8
.clang-format
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
BasedOnStyle: LLVM
|
||||||
|
IndentWidth: 4 # Use 4 spaces for indentation
|
||||||
|
TabWidth: 4 # Tab width is also 4 spaces
|
||||||
|
UseTab: Never # Always use spaces instead of tabs
|
||||||
|
ColumnLimit: 80 # Wrap lines after 80 characters
|
||||||
|
AllowShortLoopsOnASingleLine: true
|
||||||
|
AlwaysBreakTemplateDeclarations: true
|
||||||
|
BreakConstructorInitializers: BeforeComma
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -6,3 +6,5 @@ ch32fun.h
|
||||||
ch32fun.ld
|
ch32fun.ld
|
||||||
ch32v003hw.h
|
ch32v003hw.h
|
||||||
ch32v003.ld
|
ch32v003.ld
|
||||||
|
.cache
|
||||||
|
compile_commands.json
|
||||||
|
|
Loading…
Add table
Reference in a new issue