Revert commit 94666 (ddunbar) [Suppress clang warning about unused arguments].

It causes g++ to complain: unrecognized option '-Qunused-arguments'


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94670 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2010-01-27 10:08:08 +00:00
parent 2cf7251d39
commit bc15f242d5
17 changed files with 17 additions and 17 deletions

View File

@ -1,7 +1,7 @@
// Check that hooks can be invoked from 'append_cmd'. // Check that hooks can be invoked from 'append_cmd'.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -1,6 +1,6 @@
// Check that the compilation graph can be empty. // Check that the compilation graph can be empty.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -2,7 +2,7 @@
// http://llvm.org/bugs/show_bug.cgi?id=4157 // http://llvm.org/bugs/show_bug.cgi?id=4157
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: not grep {)));} %t // RUN: not grep {)));} %t
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -2,7 +2,7 @@
// The dummy tool and graph are required to silence warnings. // The dummy tool and graph are required to silence warnings.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -2,7 +2,7 @@
// http://llvm.org/bugs/show_bug.cgi?id=4159 // http://llvm.org/bugs/show_bug.cgi?id=4159
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -2,7 +2,7 @@
// The dummy tool and graph are required to silence warnings. // The dummy tool and graph are required to silence warnings.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -2,7 +2,7 @@
// The dummy tool and graph are required to silence warnings. // The dummy tool and graph are required to silence warnings.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -1,7 +1,7 @@
// Check that hooks with arguments work. // Check that hooks with arguments work.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -1,7 +1,7 @@
// Check that a hook can be given $INFILE as an argument. // Check that a hook can be given $INFILE as an argument.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -1,7 +1,7 @@
// Check that (init true/false) and (init "str") work. // Check that (init true/false) and (init "str") work.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -2,7 +2,7 @@
// The dummy tool and graph are required to silence warnings. // The dummy tool and graph are required to silence warnings.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -1,6 +1,6 @@
// Check that multiple compilation graphs are allowed. // Check that multiple compilation graphs are allowed.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -1,7 +1,7 @@
// Check that tools without associated actions are accepted. // Check that tools without associated actions are accepted.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -1,5 +1,5 @@
// Check that the compilation graph is not required. // Check that the compilation graph is not required.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -2,7 +2,7 @@
// The dummy tool and graph are required to silence warnings. // The dummy tool and graph are required to silence warnings.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -1,7 +1,7 @@
// Test for the OptionPreprocessor and related functionality. // Test for the OptionPreprocessor and related functionality.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"

View File

@ -1,7 +1,7 @@
// Check that hooks can be invoked from 'output_suffix'. // Check that hooks can be invoked from 'output_suffix'.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// RUN: FileCheck -input-file %t %s // RUN: FileCheck -input-file %t %s
// RUN: %compile_cxx -Qunused-arguments -fexceptions -x c++ %t // RUN: %compile_cxx -fexceptions -x c++ %t
// XFAIL: * // XFAIL: *
include "llvm/CompilerDriver/Common.td" include "llvm/CompilerDriver/Common.td"