[polly] r175171 - Report formatting problems as with 'diff -u'

Tobias Grosser grosser at fim.uni-passau.de
Thu Feb 14 08:20:55 PST 2013


Author: grosser
Date: Thu Feb 14 10:20:55 2013
New Revision: 175171

URL: http://llvm.org/viewvc/llvm-project?rev=175171&view=rev
Log:
Report formatting problems as with 'diff -u'

Modified:
    polly/trunk/utils/check_format.sh

Modified: polly/trunk/utils/check_format.sh
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/utils/check_format.sh?rev=175171&r1=175170&r2=175171&view=diff
==============================================================================
--- polly/trunk/utils/check_format.sh (original)
+++ polly/trunk/utils/check_format.sh Thu Feb 14 10:20:55 2013
@@ -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





More information about the llvm-commits mailing list