File: clang-format.sh

package info (click to toggle)
libpappsomspp 0.11.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,032 kB
  • sloc: cpp: 78,332; xml: 44,164; python: 668; sql: 186; sh: 33; makefile: 31
file content (7 lines) | stat: -rwxr-xr-x 127 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
#!/bin/sh

for file in $(find . -name '*' | egrep ".*\.(h|cpp)$")
do 
	echo "Formatting ${file}"
	clang-format -i ${file}
done