]> https://gitweb.dealii.org/ - dealii.git/commitdiff
run indent on expand_instantiations.cc 10666/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 7 Jul 2020 19:29:27 +0000 (15:29 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 7 Jul 2020 19:30:59 +0000 (15:30 -0400)
Also run clang-format on cmake/scripts/*.cc.

While I am here, add "tests" to remove_trailing_whitespace that was
missing.

cmake/.clang-format [deleted file]
contrib/utilities/indent
contrib/utilities/indent-all

diff --git a/cmake/.clang-format b/cmake/.clang-format
deleted file mode 100644 (file)
index 184bb9f..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#
-# The clang-format (Clang 6) style file used by deal.II.
-# This directory shall not be formatted.
-#
-
-DisableFormat: true
index 92387a54c5ddf027bf7cc8cf3e137c27501d2377..039619b442746f175c414a3f10bb63bc93d71dc0 100755 (executable)
@@ -56,22 +56,22 @@ checks
 # Process all source and header files:
 #
 
-process_changed "tests include source examples contrib/python-bindings" ".*\.(cc|h|cu|cuh)" format_file
+process_changed "tests include source examples cmake/scripts contrib/python-bindings" ".*\.(cc|h|cu|cuh)" format_file
 process_changed "source" ".*\.inst.in" format_inst
 
 #
 # Fix permissions and convert to unix line ending if necessary:
 #
 
-process_changed "tests include source examples contrib/python-bindings" \
+process_changed "tests include source examples cmake/scripts contrib/python-bindings" \
   ".*\.(cc|h|cu|cuh|inst.in|output.*|cmake)" fix_permissions
 
-process_changed "tests include source examples contrib/python-bindings" \
+process_changed "tests include source examples cmake/scripts contrib/python-bindings" \
   ".*\.(cc|h|cu|cuh|inst.in|cmake)" dos_to_unix
 
 #
 # Removing trailing whitespace
 #
 
-process_changed "include source examples contrib/python-bindings doc" \
+process_changed "tests include source examples cmake/scripts contrib/python-bindings doc" \
   ".*\.(cc|h|cu|cuh|html|dox|txt)" remove_trailing_whitespace
index b5d5450d91afae72497327242670708c98128c12..efdfdca7b945d8d2998e8343f365cb0eb97fc8ad 100755 (executable)
@@ -67,15 +67,15 @@ process "source" ".*\.inst.in" format_inst
 # Fix permissions and convert to unix line ending if necessary:
 #
 
-process "tests include source examples contrib/python-bindings" \
+process "tests include source examples cmake/scripts contrib/python-bindings" \
   ".*\.(cc|h|cu|cuh|inst.in|output.*|cmake)" fix_permissions
 
-process "tests include source examples contrib/python-bindings" \
+process "tests include source examples cmake/scripts contrib/python-bindings" \
   ".*\.(cc|h|cu|cuh|inst.in|cmake)" dos_to_unix
 
 #
 # Removing trailing whitespace
 #
 
-process "include source examples contrib/python-bindings doc" \
+process "tests include source examples cmake/scripts contrib/python-bindings doc" \
   ".*\.(cc|h|cu|cuh|html|dox|txt)" remove_trailing_whitespace

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.