parent
324d82507e
commit
7bf30ccb37
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
BasedOnStyle: Google
|
||||||
|
IndentWidth: 4
|
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
error=0
|
||||||
|
for f in $*; do
|
||||||
|
changes=$(clang-format -output-replacements-xml "$f" | grep -c '^<replacement ')
|
||||||
|
if test "$changes" -gt 0; then
|
||||||
|
echo "$f ... $changes changes needed"
|
||||||
|
error=1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
exit $error
|
Loading…
Reference in new issue