-
Notifications
You must be signed in to change notification settings - Fork 6
/
clang-reformat.sh
executable file
·17 lines (16 loc) · 1.12 KB
/
clang-reformat.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash -x
find example -name "*.cpp" -exec clang-format-3.6 -i {} ';'
clang-format-3.6 -i include/boost/afio/afio.hpp
#clang-format-3.6 -i include/boost/afio/config.hpp
find include/boost/afio/detail -name "*.hpp" -exec clang-format-3.6 -i {} ';'
find include/boost/afio/detail -name "*.ipp" -exec clang-format-3.6 -i {} ';'
find test -name "*.hpp" -exec clang-format-3.6 -i {} ';'
find test -name "*.cpp" -exec clang-format-3.6 -i {} ';'
PWD=$(pwd)
find example -name "*.cpp" -exec "$PWD/include/boost/afio/bindlib/scripts/IndentCmacros.py" {} ';'
include/boost/afio/bindlib/scripts/IndentCmacros.py include/boost/afio/afio.hpp
include/boost/afio/bindlib/scripts/IndentCmacros.py include/boost/afio/config.hpp
find include/boost/afio/detail -name "*.hpp" -exec "$PWD/include/boost/afio/bindlib/scripts/IndentCmacros.py" {} ';'
find include/boost/afio/detail -name "*.ipp" -exec "$PWD/include/boost/afio/bindlib/scripts/IndentCmacros.py" {} ';'
find test -name "*.hpp" -exec "$PWD/include/boost/afio/bindlib/scripts/IndentCmacros.py" {} ';'
find test -name "*.cpp" -exec "$PWD/include/boost/afio/bindlib/scripts/IndentCmacros.py" {} ';'