[polly] r231596 - Small change to create_ll.sh [NFC]

Johannes Doerfert doerfert at cs.uni-saarland.de
Sun Mar 8 08:36:27 PDT 2015


Author: jdoerfert
Date: Sun Mar  8 10:36:27 2015
New Revision: 231596

URL: http://llvm.org/viewvc/llvm-project?rev=231596&view=rev
Log:
Small change to create_ll.sh [NFC]

Modified:
    polly/trunk/test/create_ll.sh

Modified: polly/trunk/test/create_ll.sh
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/create_ll.sh?rev=231596&r1=231595&r2=231596&view=diff
==============================================================================
--- polly/trunk/test/create_ll.sh (original)
+++ polly/trunk/test/create_ll.sh Sun Mar  8 10:36:27 2015
@@ -20,7 +20,7 @@ echo '; FIXME: Edit the run line and add
 echo ';' >> ${LLFILE}
 echo '; XFAIL: *' >> ${LLFILE}
 echo ';' >> ${LLFILE}
-clang-format $1 | sed -e 's/^/;    /' >> ${LLFILE}
+clang-format $1 | sed -e 's/^[^$]/;    &/' -e 's/^$/;/' >> ${LLFILE}
 echo ';' >> ${LLFILE}
 
 cat ${LLFILE_TMP} | sed -e 's/ \#0//' >> ${LLFILE}





More information about the llvm-commits mailing list