forked from OSchip/llvm-project
Report formatting problems as with 'diff -u'
llvm-svn: 175171
This commit is contained in:
parent
c38af88764
commit
f471c3e63a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue