[clang-tools-extra] r242984 - Appease test/clang-tidy/misc-unused-parameters.cpp for targeting *-win32, to add -fno-delayed-template-parsing.

NAKAMURA Takumi geek4civic at gmail.com
Wed Jul 22 22:52:03 PDT 2015


Author: chapuni
Date: Thu Jul 23 00:52:02 2015
New Revision: 242984

URL: http://llvm.org/viewvc/llvm-project?rev=242984&view=rev
Log:
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.

Modified:
    clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy.sh

Modified: clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy.sh
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy.sh?rev=242984&r1=242983&r2=242984&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy.sh (original)
+++ clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy.sh Thu Jul 23 00:52:02 2015
@@ -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





More information about the cfe-commits mailing list