[clang-tools-extra] r215189 - Closing the loop. Now this sed invocation is back to what it was before the attempts to 'improve' it.
Alexander Kornienko
alexfh at google.com
Fri Aug 8 01:20:55 PDT 2014
Author: alexfh
Date: Fri Aug 8 03:20:55 2014
New Revision: 215189
URL: http://llvm.org/viewvc/llvm-project?rev=215189&view=rev
Log:
Closing the loop. Now this sed invocation is back to what it was before the attempts to 'improve' it.
Modified:
clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy_fix.sh
Modified: clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy_fix.sh
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy_fix.sh?rev=215189&r1=215188&r2=215189&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy_fix.sh (original)
+++ clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy_fix.sh Fri Aug 8 03:20:55 2014
@@ -20,7 +20,7 @@ set -o errexit
# Remove the contents of the CHECK lines to avoid CHECKs matching on themselves.
# We need to keep the comments to preserve line numbers while avoiding empty
# lines which could potentially trigger formatting-related checks.
-sed 's#// *[A-Z-][A-Z-]*:.*#//#' ${INPUT_FILE} > ${TEMPORARY_FILE}
+sed 's#// *[A-Z-]\+:.*#//#' ${INPUT_FILE} > ${TEMPORARY_FILE}
clang-tidy ${TEMPORARY_FILE} -fix --checks="-*,${CHECK_TO_RUN}" \
-- --std=c++11 $* > ${TEMPORARY_FILE}.msg 2>&1
More information about the cfe-commits
mailing list