summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2014-08-08 08:49:19 +0000
committerAlexander Kornienko <alexfh@google.com>2014-08-08 08:49:19 +0000
commit05cb0bb55e1f8fedffe2f8bc219035a61e7ead16 (patch)
tree6f4ce133a0161c038ef5bce7113ab8ab9aea7522
parent0f18ff9817b3e77322948a77eebc915c75444075 (diff)
downloadbcm5719-llvm-05cb0bb55e1f8fedffe2f8bc219035a61e7ead16.tar.gz
bcm5719-llvm-05cb0bb55e1f8fedffe2f8bc219035a61e7ead16.zip
Reverting to Rui's last version, as it actually works both in Darwin and in Linux
llvm-svn: 215192
-rwxr-xr-xclang-tools-extra/test/clang-tidy/check_clang_tidy_fix.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/check_clang_tidy_fix.sh b/clang-tools-extra/test/clang-tidy/check_clang_tidy_fix.sh
index 851307aa031..f39a659bbac 100755
--- a/clang-tools-extra/test/clang-tidy/check_clang_tidy_fix.sh
+++ b/clang-tools-extra/test/clang-tidy/check_clang_tidy_fix.sh
@@ -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-]\+:.*#//#' ${INPUT_FILE} > ${TEMPORARY_FILE}
+sed 's#// *[A-Z-][A-Z-]*:.*#//#' ${INPUT_FILE} > ${TEMPORARY_FILE}
clang-tidy ${TEMPORARY_FILE} -fix --checks="-*,${CHECK_TO_RUN}" \
-- --std=c++11 $* > ${TEMPORARY_FILE}.msg 2>&1
OpenPOWER on IntegriCloud