-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathclang-format.sh
13 lines (10 loc) · 1.3 KB
/
clang-format.sh
1
2
3
4
5
6
7
8
9
10
11
12
cd src
find energy/ -iname *.h -o -iname *.c -o -iname *.cpp | xargs clang-format -i -style="{BasedOnStyle: google, IndentWidth: 4, ColumnLimit: 0, SortIncludes: false}"
find histogram/ -iname *.h -o -iname *.c -o -iname *.cpp | xargs clang-format -i -style="{BasedOnStyle: google, IndentWidth: 4, ColumnLimit: 0, SortIncludes: false}"
find include/ -iname *.h -o -iname *.c -o -iname *.cpp | xargs clang-format -i -style="{BasedOnStyle: google, IndentWidth: 4, ColumnLimit: 0, SortIncludes: false}"
find io/ -iname *.h -o -iname *.c -o -iname *.cpp | xargs clang-format -i -style="{BasedOnStyle: google, IndentWidth: 4, ColumnLimit: 0, SortIncludes: false}"
find main/ -iname *.h -o -iname *.c -o -iname *.cpp | xargs clang-format -i -style="{BasedOnStyle: google, IndentWidth: 4, ColumnLimit: 0, SortIncludes: false}"
find mc/ -iname *.h -o -iname *.c -o -iname *.cpp | xargs clang-format -i -style="{BasedOnStyle: google, IndentWidth: 4, ColumnLimit: 0, SortIncludes: false}"
find polarization/ -iname *.h -o -iname *.c -o -iname *.cpp | xargs clang-format -i -style="{BasedOnStyle: google, IndentWidth: 4, ColumnLimit: 0, SortIncludes: false}"
find quantum_rotation/ -iname *.h -o -iname *.c -o -iname *.cpp | xargs clang-format -i -style="{BasedOnStyle: google, IndentWidth: 4, ColumnLimit: 0, SortIncludes: false}"
cd ..