format code by LLVM
This commit is contained in:
parent
b4c43daaea
commit
a390ee355e
10
~/C/format-code
Executable file
10
~/C/format-code
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
files=(
|
||||||
|
"file.c"
|
||||||
|
)
|
||||||
|
|
||||||
|
for file in "${files[@]}"
|
||||||
|
do
|
||||||
|
clang-format -i --style=LLVM --sort-includes=false $file
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user