Skip to content

Commit

Permalink
Merge pull request #10666 from tjhei/format-expand-inst
Browse files Browse the repository at this point in the history
run indent on expand_instantiations.cc
  • Loading branch information
masterleinad committed Jul 8, 2020
2 parents 0fa4b06 + 0b2d4ef commit af9f987
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
6 changes: 0 additions & 6 deletions cmake/.clang-format

This file was deleted.

8 changes: 4 additions & 4 deletions contrib/utilities/indent
Expand Up @@ -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
6 changes: 3 additions & 3 deletions contrib/utilities/indent-all
Expand Up @@ -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

0 comments on commit af9f987

Please sign in to comment.