[llvm-commits] [llvm] r94666 - in /llvm/trunk/test/LLVMC: AppendCmdHook.td EmptyCompilationGraph.td EnvParentheses.td ExternOptions.td ForwardAs.td ForwardTransformedValue.td ForwardValue.td HookWithArguments.td HookWithInFile.td Init.td MultiValuedOption.td MultipleCompilationGraphs.td NoActions.td NoCompilationGraph.td OneOrMore.td OptionPreprocessor.td OutputSuffixHook.td

Daniel Dunbar daniel at zuster.org
Tue Jan 26 23:10:11 PST 2010


Author: ddunbar
Date: Wed Jan 27 01:10:10 2010
New Revision: 94666

URL: http://llvm.org/viewvc/llvm-project?rev=94666&view=rev
Log:
Suppress clang warning about unused arguments.

Modified:
    llvm/trunk/test/LLVMC/AppendCmdHook.td
    llvm/trunk/test/LLVMC/EmptyCompilationGraph.td
    llvm/trunk/test/LLVMC/EnvParentheses.td
    llvm/trunk/test/LLVMC/ExternOptions.td
    llvm/trunk/test/LLVMC/ForwardAs.td
    llvm/trunk/test/LLVMC/ForwardTransformedValue.td
    llvm/trunk/test/LLVMC/ForwardValue.td
    llvm/trunk/test/LLVMC/HookWithArguments.td
    llvm/trunk/test/LLVMC/HookWithInFile.td
    llvm/trunk/test/LLVMC/Init.td
    llvm/trunk/test/LLVMC/MultiValuedOption.td
    llvm/trunk/test/LLVMC/MultipleCompilationGraphs.td
    llvm/trunk/test/LLVMC/NoActions.td
    llvm/trunk/test/LLVMC/NoCompilationGraph.td
    llvm/trunk/test/LLVMC/OneOrMore.td
    llvm/trunk/test/LLVMC/OptionPreprocessor.td
    llvm/trunk/test/LLVMC/OutputSuffixHook.td

Modified: llvm/trunk/test/LLVMC/AppendCmdHook.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/AppendCmdHook.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/AppendCmdHook.td (original)
+++ llvm/trunk/test/LLVMC/AppendCmdHook.td Wed Jan 27 01:10:10 2010
@@ -1,7 +1,7 @@
 // Check that hooks can be invoked from 'append_cmd'.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/EmptyCompilationGraph.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/EmptyCompilationGraph.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/EmptyCompilationGraph.td (original)
+++ llvm/trunk/test/LLVMC/EmptyCompilationGraph.td Wed Jan 27 01:10:10 2010
@@ -1,6 +1,6 @@
 // Check that the compilation graph can be empty.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/EnvParentheses.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/EnvParentheses.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/EnvParentheses.td (original)
+++ llvm/trunk/test/LLVMC/EnvParentheses.td Wed Jan 27 01:10:10 2010
@@ -2,7 +2,7 @@
 // http://llvm.org/bugs/show_bug.cgi?id=4157
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: not grep {)));} %t
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/ExternOptions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/ExternOptions.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/ExternOptions.td (original)
+++ llvm/trunk/test/LLVMC/ExternOptions.td Wed Jan 27 01:10:10 2010
@@ -2,7 +2,7 @@
 // The dummy tool and graph are required to silence warnings.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/ForwardAs.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/ForwardAs.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/ForwardAs.td (original)
+++ llvm/trunk/test/LLVMC/ForwardAs.td Wed Jan 27 01:10:10 2010
@@ -2,7 +2,7 @@
 // http://llvm.org/bugs/show_bug.cgi?id=4159
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/ForwardTransformedValue.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/ForwardTransformedValue.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/ForwardTransformedValue.td (original)
+++ llvm/trunk/test/LLVMC/ForwardTransformedValue.td Wed Jan 27 01:10:10 2010
@@ -2,7 +2,7 @@
 // The dummy tool and graph are required to silence warnings.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/ForwardValue.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/ForwardValue.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/ForwardValue.td (original)
+++ llvm/trunk/test/LLVMC/ForwardValue.td Wed Jan 27 01:10:10 2010
@@ -2,7 +2,7 @@
 // The dummy tool and graph are required to silence warnings.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/HookWithArguments.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/HookWithArguments.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/HookWithArguments.td (original)
+++ llvm/trunk/test/LLVMC/HookWithArguments.td Wed Jan 27 01:10:10 2010
@@ -1,7 +1,7 @@
 // Check that hooks with arguments work.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/HookWithInFile.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/HookWithInFile.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/HookWithInFile.td (original)
+++ llvm/trunk/test/LLVMC/HookWithInFile.td Wed Jan 27 01:10:10 2010
@@ -1,7 +1,7 @@
 // Check that a hook can be given $INFILE as an argument.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/Init.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/Init.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/Init.td (original)
+++ llvm/trunk/test/LLVMC/Init.td Wed Jan 27 01:10:10 2010
@@ -1,7 +1,7 @@
 // Check that (init true/false) and (init "str") work.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/MultiValuedOption.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/MultiValuedOption.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/MultiValuedOption.td (original)
+++ llvm/trunk/test/LLVMC/MultiValuedOption.td Wed Jan 27 01:10:10 2010
@@ -2,7 +2,7 @@
 // The dummy tool and graph are required to silence warnings.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/MultipleCompilationGraphs.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/MultipleCompilationGraphs.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/MultipleCompilationGraphs.td (original)
+++ llvm/trunk/test/LLVMC/MultipleCompilationGraphs.td Wed Jan 27 01:10:10 2010
@@ -1,6 +1,6 @@
 // Check that multiple compilation graphs are allowed.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/NoActions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/NoActions.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/NoActions.td (original)
+++ llvm/trunk/test/LLVMC/NoActions.td Wed Jan 27 01:10:10 2010
@@ -1,7 +1,7 @@
 // Check that tools without associated actions are accepted.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/NoCompilationGraph.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/NoCompilationGraph.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/NoCompilationGraph.td (original)
+++ llvm/trunk/test/LLVMC/NoCompilationGraph.td Wed Jan 27 01:10:10 2010
@@ -1,5 +1,5 @@
 // Check that the compilation graph is not required.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"

Modified: llvm/trunk/test/LLVMC/OneOrMore.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/OneOrMore.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/OneOrMore.td (original)
+++ llvm/trunk/test/LLVMC/OneOrMore.td Wed Jan 27 01:10:10 2010
@@ -2,7 +2,7 @@
 // The dummy tool and graph are required to silence warnings.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/OptionPreprocessor.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/OptionPreprocessor.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/OptionPreprocessor.td (original)
+++ llvm/trunk/test/LLVMC/OptionPreprocessor.td Wed Jan 27 01:10:10 2010
@@ -1,7 +1,7 @@
 // Test for the OptionPreprocessor and related functionality.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 
 include "llvm/CompilerDriver/Common.td"
 

Modified: llvm/trunk/test/LLVMC/OutputSuffixHook.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LLVMC/OutputSuffixHook.td?rev=94666&r1=94665&r2=94666&view=diff

==============================================================================
--- llvm/trunk/test/LLVMC/OutputSuffixHook.td (original)
+++ llvm/trunk/test/LLVMC/OutputSuffixHook.td Wed Jan 27 01:10:10 2010
@@ -1,7 +1,7 @@
 // Check that hooks can be invoked from 'output_suffix'.
 // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
 // RUN: FileCheck -input-file %t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t
 // XFAIL: *
 
 include "llvm/CompilerDriver/Common.td"





More information about the llvm-commits mailing list