From: Timo Heister Date: Tue, 7 Jul 2020 19:29:27 +0000 (-0400) Subject: run indent on expand_instantiations.cc X-Git-Tag: v9.3.0-rc1~1316^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10666%2Fhead;p=dealii.git run indent on expand_instantiations.cc Also run clang-format on cmake/scripts/*.cc. While I am here, add "tests" to remove_trailing_whitespace that was missing. --- diff --git a/cmake/.clang-format b/cmake/.clang-format deleted file mode 100644 index 184bb9fa58..0000000000 --- a/cmake/.clang-format +++ /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 diff --git a/contrib/utilities/indent b/contrib/utilities/indent index 92387a54c5..039619b442 100755 --- a/contrib/utilities/indent +++ b/contrib/utilities/indent @@ -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 diff --git a/contrib/utilities/indent-all b/contrib/utilities/indent-all index b5d5450d91..efdfdca7b9 100755 --- a/contrib/utilities/indent-all +++ b/contrib/utilities/indent-all @@ -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