aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-12-14 19:53:05 +0000
committerIan Lance Taylor <ian@airs.com>2009-12-14 19:53:05 +0000
commit2ea97941102380c28117882600265c1187c6fc8b (patch)
tree8f423876f9f118fbe6f7959e60984cd13ad7430d /gold/options.h
parentab8e2090b6435823d50b29b7a255140ba6ea673f (diff)
downloadgdb-2ea97941102380c28117882600265c1187c6fc8b.zip
gdb-2ea97941102380c28117882600265c1187c6fc8b.tar.gz
gdb-2ea97941102380c28117882600265c1187c6fc8b.tar.bz2
Revert -Wshadow changes, all changes from:
2009-12-11 Doug Kwan <dougkwan@google.com> 2009-12-11 Nick Clifton <nickc@redhat.com> * configure.ac: Remove -Wshadow when setting WARN_CXXFLAGS.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/gold/options.h b/gold/options.h
index db10ee6..399c301 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -227,9 +227,9 @@ struct Struct_special : public Struct_var
parse(parse_function)
{ }
- void parse_to_value(const char* opt, const char* arg,
+ void parse_to_value(const char* option, const char* arg,
Command_line* cmdline, General_options* options)
- { (options->*(this->parse))(opt, arg, cmdline); }
+ { (options->*(this->parse))(option, arg, cmdline); }
One_option option;
Parse_function parse;
@@ -517,8 +517,8 @@ class Search_directory
{ }
// This is the usual constructor.
- Search_directory(const char* cname, bool put_in_sysroot)
- : name_(cname), put_in_sysroot_(put_in_sysroot), is_in_sysroot_(false)
+ Search_directory(const char* name, bool put_in_sysroot)
+ : name_(name), put_in_sysroot_(put_in_sysroot), is_in_sysroot_(false)
{
if (this->name_.empty())
this->name_ = ".";
@@ -1298,24 +1298,24 @@ class Input_file_argument
just_symbols_(false), options_()
{ }
- Input_file_argument(const char* aname, Input_file_type type,
- const char* aextra_search_path,
- bool ajust_symbols,
- const Position_dependent_options& aoptions)
- : name_(aname), type_(type), extra_search_path_(aextra_search_path),
- just_symbols_(ajust_symbols), options_(aoptions)
+ Input_file_argument(const char* name, Input_file_type type,
+ const char* extra_search_path,
+ bool just_symbols,
+ const Position_dependent_options& options)
+ : name_(name), type_(type), extra_search_path_(extra_search_path),
+ just_symbols_(just_symbols), options_(options)
{ }
// You can also pass in a General_options instance instead of a
// Position_dependent_options. In that case, we extract the
// position-independent vars from the General_options and only store
// those.
- Input_file_argument(const char* aname, Input_file_type type,
- const char* aextra_search_path,
- bool ajust_symbols,
- const General_options& aoptions)
- : name_(aname), type_(type), extra_search_path_(aextra_search_path),
- just_symbols_(ajust_symbols), options_(aoptions)
+ Input_file_argument(const char* name, Input_file_type type,
+ const char* extra_search_path,
+ bool just_symbols,
+ const General_options& options)
+ : name_(name), type_(type), extra_search_path_(extra_search_path),
+ just_symbols_(just_symbols), options_(options)
{ }
const char*
@@ -1374,13 +1374,13 @@ class Input_argument
{
public:
// Create a file or library argument.
- explicit Input_argument(Input_file_argument afile)
- : is_file_(true), file_(afile), group_(NULL)
+ explicit Input_argument(Input_file_argument file)
+ : is_file_(true), file_(file), group_(NULL)
{ }
// Create a group argument.
- explicit Input_argument(Input_file_group* agroup)
- : is_file_(false), group_(agroup)
+ explicit Input_argument(Input_file_group* group)
+ : is_file_(false), group_(group)
{ }
// Return whether this is a file.