Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spam@nowhere>2016-03-21 02:41:51 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spam@nowhere>2016-03-21 02:41:51 +0300
commit758a934ab266ed660daa54b72e4606b78e374071 (patch)
tree6f2fe1c5d2b8331f9319549bc6f0c3390168eb6b /attic/clang-reformat.sh
AFIO v2: Relocate all the AFIO v2 files in fs_probe into the root hierarchy. AFIO v2 is now the master branch!
Diffstat (limited to 'attic/clang-reformat.sh')
-rwxr-xr-xattic/clang-reformat.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/attic/clang-reformat.sh b/attic/clang-reformat.sh
new file mode 100755
index 00000000..560ad442
--- /dev/null
+++ b/attic/clang-reformat.sh
@@ -0,0 +1,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" {} ';'