Add formatter script

pull/161/head
Aneesh Durg 2022-04-28 20:16:09 -05:00
parent 48c796ec27
commit 3a6af55a6f
1 changed files with 2 additions and 0 deletions

2
src/format.sh Normal file
View File

@ -0,0 +1,2 @@
STYLE_OPT="{BasedOnStyle: llvm, AlignConsecutiveMacros: true, AlignConsecutiveAssignments: true}"
clang-format --style="$STYLE_OPT" -i *