From f471c3e63a436b24d30a593d97ab551a68f2622f Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Thu, 14 Feb 2013 16:20:55 +0000 Subject: [PATCH] Report formatting problems as with 'diff -u' llvm-svn: 175171 --- polly/utils/check_format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polly/utils/check_format.sh b/polly/utils/check_format.sh index 94a14a1873f2..b7b68bf9fce1 100755 --- a/polly/utils/check_format.sh +++ b/polly/utils/check_format.sh @@ -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