Permalink
Browse files

[format.sh] Alternate extensions for C(++) files (#2361)

  • Loading branch information...
bertmaher committed Feb 7, 2019
1 parent 2a37c5a commit 2f4b8066fc2ea07830c89de489f25898ac1e5559
Showing with 3 additions and 0 deletions.
  1. +3 −0 utils/format.sh
@@ -30,6 +30,9 @@ print_usage() {
fix_format() {
find lib tests/unittests/ tools/ include examples \
-name \*.h -print0 \
-o -name \*.hpp -print0 \
-o -name \*.c -print0 \
-o -name \*.cc -print0 \
-o -name \*.cpp -print0 \
-o -name \*.cl -print0 \
| xargs -0 -P8 -n1 $CLANG_COMMAND -i;

0 comments on commit 2f4b806

Please sign in to comment.