We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8b27377 + 4aaa5d6 commit 843d8f4Copy full SHA for 843d8f4
contrib/clang-format-ompi.sh
@@ -2,7 +2,7 @@
2
3
echo "Running clang-format on code base..."
4
5
-files=($(git ls-tree -r master --name-only | grep -v '3rd-party/' | grep -v 'contrib' | grep -e '.*\.[ch]$'))
+files=($(git ls-tree -r master --name-only | grep -v '3rd-party/' | grep -v 'contrib' | grep -e '.*\.[ch]$' | xargs grep -L -- "-*- fortran -*-"))
6
7
for file in "${files[@]}" ; do
8
if test "$1" = "-d" ; then
0 commit comments