summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-01-27 07:10:10 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-01-27 07:10:10 +0000
commitf99134f470532eb58d18583f8d90244ac40c03cc (patch)
tree17d3152a7331a6bc7810ed225ed7fb7ef3370dca
parentd5e27af60ab9caa82d3683d33ccd28e3354fcbb7 (diff)
downloadbcm5719-llvm-f99134f470532eb58d18583f8d90244ac40c03cc.tar.gz
bcm5719-llvm-f99134f470532eb58d18583f8d90244ac40c03cc.zip
Suppress clang warning about unused arguments.
llvm-svn: 94666
-rw-r--r--llvm/test/LLVMC/AppendCmdHook.td2
-rw-r--r--llvm/test/LLVMC/EmptyCompilationGraph.td2
-rw-r--r--llvm/test/LLVMC/EnvParentheses.td2
-rw-r--r--llvm/test/LLVMC/ExternOptions.td2
-rw-r--r--llvm/test/LLVMC/ForwardAs.td2
-rw-r--r--llvm/test/LLVMC/ForwardTransformedValue.td2
-rw-r--r--llvm/test/LLVMC/ForwardValue.td2
-rw-r--r--llvm/test/LLVMC/HookWithArguments.td2
-rw-r--r--llvm/test/LLVMC/HookWithInFile.td2
-rw-r--r--llvm/test/LLVMC/Init.td2
-rw-r--r--llvm/test/LLVMC/MultiValuedOption.td2
-rw-r--r--llvm/test/LLVMC/MultipleCompilationGraphs.td2
-rw-r--r--llvm/test/LLVMC/NoActions.td2
-rw-r--r--llvm/test/LLVMC/NoCompilationGraph.td2
-rw-r--r--llvm/test/LLVMC/OneOrMore.td2
-rw-r--r--llvm/test/LLVMC/OptionPreprocessor.td2
-rw-r--r--llvm/test/LLVMC/OutputSuffixHook.td2
17 files changed, 17 insertions, 17 deletions
diff --git a/llvm/test/LLVMC/AppendCmdHook.td b/llvm/test/LLVMC/AppendCmdHook.td
index 4a9d39121a4..fc725a7c391 100644
--- a/llvm/test/LLVMC/AppendCmdHook.td
+++ b/llvm/test/LLVMC/AppendCmdHook.td
@@ -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"
diff --git a/llvm/test/LLVMC/EmptyCompilationGraph.td b/llvm/test/LLVMC/EmptyCompilationGraph.td
index 934905b15e9..03328d8d1c1 100644
--- a/llvm/test/LLVMC/EmptyCompilationGraph.td
+++ b/llvm/test/LLVMC/EmptyCompilationGraph.td
@@ -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"
diff --git a/llvm/test/LLVMC/EnvParentheses.td b/llvm/test/LLVMC/EnvParentheses.td
index 77aab95c5f0..ae27d046804 100644
--- a/llvm/test/LLVMC/EnvParentheses.td
+++ b/llvm/test/LLVMC/EnvParentheses.td
@@ -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"
diff --git a/llvm/test/LLVMC/ExternOptions.td b/llvm/test/LLVMC/ExternOptions.td
index a05f2ca15b6..6b63f0897b2 100644
--- a/llvm/test/LLVMC/ExternOptions.td
+++ b/llvm/test/LLVMC/ExternOptions.td
@@ -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"
diff --git a/llvm/test/LLVMC/ForwardAs.td b/llvm/test/LLVMC/ForwardAs.td
index ce6fbb06ef5..53ba39747f6 100644
--- a/llvm/test/LLVMC/ForwardAs.td
+++ b/llvm/test/LLVMC/ForwardAs.td
@@ -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"
diff --git a/llvm/test/LLVMC/ForwardTransformedValue.td b/llvm/test/LLVMC/ForwardTransformedValue.td
index e26345362c0..8b1f5175053 100644
--- a/llvm/test/LLVMC/ForwardTransformedValue.td
+++ b/llvm/test/LLVMC/ForwardTransformedValue.td
@@ -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"
diff --git a/llvm/test/LLVMC/ForwardValue.td b/llvm/test/LLVMC/ForwardValue.td
index 31e395e6d0b..6a32e0b048c 100644
--- a/llvm/test/LLVMC/ForwardValue.td
+++ b/llvm/test/LLVMC/ForwardValue.td
@@ -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"
diff --git a/llvm/test/LLVMC/HookWithArguments.td b/llvm/test/LLVMC/HookWithArguments.td
index ba0bbe10d37..369711a490c 100644
--- a/llvm/test/LLVMC/HookWithArguments.td
+++ b/llvm/test/LLVMC/HookWithArguments.td
@@ -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"
diff --git a/llvm/test/LLVMC/HookWithInFile.td b/llvm/test/LLVMC/HookWithInFile.td
index e15e43cdf04..bf640084465 100644
--- a/llvm/test/LLVMC/HookWithInFile.td
+++ b/llvm/test/LLVMC/HookWithInFile.td
@@ -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"
diff --git a/llvm/test/LLVMC/Init.td b/llvm/test/LLVMC/Init.td
index 355d83ff95a..57ddaaf746d 100644
--- a/llvm/test/LLVMC/Init.td
+++ b/llvm/test/LLVMC/Init.td
@@ -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"
diff --git a/llvm/test/LLVMC/MultiValuedOption.td b/llvm/test/LLVMC/MultiValuedOption.td
index 8cb18782700..3a1bbbf3483 100644
--- a/llvm/test/LLVMC/MultiValuedOption.td
+++ b/llvm/test/LLVMC/MultiValuedOption.td
@@ -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"
diff --git a/llvm/test/LLVMC/MultipleCompilationGraphs.td b/llvm/test/LLVMC/MultipleCompilationGraphs.td
index 9702248b572..1ae738b87fa 100644
--- a/llvm/test/LLVMC/MultipleCompilationGraphs.td
+++ b/llvm/test/LLVMC/MultipleCompilationGraphs.td
@@ -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"
diff --git a/llvm/test/LLVMC/NoActions.td b/llvm/test/LLVMC/NoActions.td
index 9c2d45a810f..cc01240f782 100644
--- a/llvm/test/LLVMC/NoActions.td
+++ b/llvm/test/LLVMC/NoActions.td
@@ -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"
diff --git a/llvm/test/LLVMC/NoCompilationGraph.td b/llvm/test/LLVMC/NoCompilationGraph.td
index 96c1f17e18e..163e97ff27c 100644
--- a/llvm/test/LLVMC/NoCompilationGraph.td
+++ b/llvm/test/LLVMC/NoCompilationGraph.td
@@ -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"
diff --git a/llvm/test/LLVMC/OneOrMore.td b/llvm/test/LLVMC/OneOrMore.td
index ddf7cd1143a..ab6f8d51894 100644
--- a/llvm/test/LLVMC/OneOrMore.td
+++ b/llvm/test/LLVMC/OneOrMore.td
@@ -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"
diff --git a/llvm/test/LLVMC/OptionPreprocessor.td b/llvm/test/LLVMC/OptionPreprocessor.td
index 8d748eee532..c9ba2621dfd 100644
--- a/llvm/test/LLVMC/OptionPreprocessor.td
+++ b/llvm/test/LLVMC/OptionPreprocessor.td
@@ -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"
diff --git a/llvm/test/LLVMC/OutputSuffixHook.td b/llvm/test/LLVMC/OutputSuffixHook.td
index 4ecad2360ba..4ff15eac6bd 100644
--- a/llvm/test/LLVMC/OutputSuffixHook.td
+++ b/llvm/test/LLVMC/OutputSuffixHook.td
@@ -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"
OpenPOWER on IntegriCloud