Report formatting problems as with 'diff -u'

llvm-svn: 175171
This commit is contained in:
Tobias Grosser 2013-02-14 16:20:55 +00:00
parent c38af88764
commit f471c3e63a
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ OK=0
for ARG in "$@"
do
clang-format $1 | diff $1 -
clang-format $1 | diff -u $1 -
if [[ $? -eq 1 ]]; then
OK=1