[clang-tools-extra] r243491 - Move an extra switch to clang-tools-extra/test/clang-tidy/misc-unused-parameters.cpp from check_clang_tidy.sh.

NAKAMURA Takumi geek4civic at gmail.com
Tue Jul 28 15:41:04 PDT 2015


Author: chapuni
Date: Tue Jul 28 17:41:04 2015
New Revision: 243491

URL: http://llvm.org/viewvc/llvm-project?rev=243491&view=rev
Log:
Move an extra switch to clang-tools-extra/test/clang-tidy/misc-unused-parameters.cpp from check_clang_tidy.sh.

It also rolls back r242984 and r242985.

Modified:
    clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy.sh
    clang-tools-extra/trunk/test/clang-tidy/misc-unused-parameters.cpp

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=243491&r1=243490&r2=243491&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 Tue Jul 28 17:41:04 2015
@@ -16,8 +16,7 @@ TEMPORARY_FILE=$3.cpp
 shift 3
 if [ "$#" -eq 0 ] ; then
   # Default to -- --std=c++11
-  # Suppress -target=*-win32.
-  set - -- --std=c++11 -fno-delayed-template-parsing
+  set - -- --std=c++11
 fi
 
 set -o errexit

Modified: clang-tools-extra/trunk/test/clang-tidy/misc-unused-parameters.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/misc-unused-parameters.cpp?rev=243491&r1=243490&r2=243491&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/misc-unused-parameters.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/misc-unused-parameters.cpp Tue Jul 28 17:41:04 2015
@@ -1,6 +1,6 @@
 // RUN: echo "static void staticFunctionHeader(int i) {}" > %T/header.h
 // RUN: echo "static void staticFunctionHeader(int  /*i*/) {}" > %T/header-fixed.h
-// RUN: $(dirname %s)/check_clang_tidy.sh %s misc-unused-parameters %t -header-filter='.*' --
+// RUN: $(dirname %s)/check_clang_tidy.sh %s misc-unused-parameters %t -header-filter='.*' -- -fno-delayed-template-parsing
 // RUN: diff %T/header.h %T/header-fixed.h
 // REQUIRES: shell
 





More information about the cfe-commits mailing list