Suppress clang warning about unused arguments.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 27 Jan 2010 07:10:10 +0000 (07:10 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 27 Jan 2010 07:10:10 +0000 (07:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94666 91177308-0d34-0410-b5e6-96231b3b80d8

17 files changed:
test/LLVMC/AppendCmdHook.td
test/LLVMC/EmptyCompilationGraph.td
test/LLVMC/EnvParentheses.td
test/LLVMC/ExternOptions.td
test/LLVMC/ForwardAs.td
test/LLVMC/ForwardTransformedValue.td
test/LLVMC/ForwardValue.td
test/LLVMC/HookWithArguments.td
test/LLVMC/HookWithInFile.td
test/LLVMC/Init.td
test/LLVMC/MultiValuedOption.td
test/LLVMC/MultipleCompilationGraphs.td
test/LLVMC/NoActions.td
test/LLVMC/NoCompilationGraph.td
test/LLVMC/OneOrMore.td
test/LLVMC/OptionPreprocessor.td
test/LLVMC/OutputSuffixHook.td

index 4a9d39121a4af38dd946185499b3a072d1101a00..fc725a7c391f1749863bcdaf4afd25b4d50dd97e 100644 (file)
@@ -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"
 
index 934905b15e99d054e50b2eb6ce3f6477f5e80509..03328d8d1c10e6edbd43a6f508382209f72be1a1 100644 (file)
@@ -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"
 
index 77aab95c5f03db81fbdb13ca6b33b8f0aed4cedd..ae27d04680489045653d2f711856e8a79e6849de 100644 (file)
@@ -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"
 
index a05f2ca15b6f125b2ef567f57a67e357edf32a5e..6b63f0897b2b397ae2d428437e83b87eb7aef470 100644 (file)
@@ -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"
 
index ce6fbb06ef51f0b01386a87bcd9ffb7868efda80..53ba39747f6e6c0a820ecb5abf5b26ea403f4b0e 100644 (file)
@@ -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"
 
index e26345362c0f3f4e0768bdba3a1322240aab6b84..8b1f51750531fecc7d98bdbd727aa40be365a9db 100644 (file)
@@ -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"
 
index 31e395e6d0bcfc6c7abbe5001d2fb4ea9641a411..6a32e0b048c8d72be120b856e16aba86c629c595 100644 (file)
@@ -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"
 
index ba0bbe10d37a7c04f08cdc20c11f7fdcc88cc440..369711a490c4af0a0d0839d886734922d6225d6f 100644 (file)
@@ -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"
 
index e15e43cdf040bd6c0688fdcb514113c7a3d447e4..bf64008446588bc976664d7525b45bf42f963d38 100644 (file)
@@ -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"
 
index 355d83ff95aef8427ffc65c5e4b42bf989799a1b..57ddaaf746d8d63ce77f3ad9930a1f7ac6b82f92 100644 (file)
@@ -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"
 
index 8cb18782700c64f783c3cace3d8a7ec645c2009a..3a1bbbf34830127c80517c9503c84da2521a400c 100644 (file)
@@ -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"
 
index 9702248b572913510b32c37acb1371cb650c067a..1ae738b87fa5ac0e6b970999b6df8c027b132e97 100644 (file)
@@ -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"
 
index 9c2d45a810f6bdfd8834f1edd59d637df4c45b20..cc01240f7829af101ca0f2dd289225213ced57bb 100644 (file)
@@ -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"
 
index 96c1f17e18e04f13c27c941dc978a2025704a81f..163e97ff27c90507376b18544561c528c2abbb99 100644 (file)
@@ -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"
index ddf7cd1143a98c9ace4718d0c5bd89025b8d6c76..ab6f8d5189467a0e8158140cff4faeb8c6ce9884 100644 (file)
@@ -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"
 
index 8d748eee532cb5616ed403d634e370c74bccc324..c9ba2621dfd8f0116ef5158ebda73388392b8eff 100644 (file)
@@ -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"
 
index 4ecad2360ba062baf9e5e6cc95c056e997c1c3f3..4ff15eac6bd1d86f5bd2ca245a78525f9eca981b 100644 (file)
@@ -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"