From d4ed83aae736ce9c586db771de39027ed4b7fead Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 23 Jul 2015 05:52:02 +0000 Subject: [PATCH] Appease test/clang-tidy/misc-unused-parameters.cpp for targeting *-win32, to add -fno-delayed-template-parsing. Note, clang-tidy tests wouldn't run on Windows hosts since they are disabled with REQUIRES:shell. The failure would be raised with cross building. llvm-svn: 242984 --- clang-tools-extra/test/clang-tidy/check_clang_tidy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang-tools-extra/test/clang-tidy/check_clang_tidy.sh b/clang-tools-extra/test/clang-tidy/check_clang_tidy.sh index 817e3a2c64fa..a8ee298a2253 100755 --- a/clang-tools-extra/test/clang-tidy/check_clang_tidy.sh +++ b/clang-tools-extra/test/clang-tidy/check_clang_tidy.sh @@ -17,6 +17,8 @@ shift 3 if [ "$#" -eq 0 ] ; then # Default to -- --std=c++11 set - -- --std=c++11 + # Suppress -target=*-win32. + set - -- -fno-delayed-template-parsing fi set -o errexit