This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH 03/36] C++ keyword cleanliness, mostly auto-generated
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 11 Feb 2015 11:57:49 +0400
- Subject: Re: [PATCH 03/36] C++ keyword cleanliness, mostly auto-generated
- Authentication-results: sourceware.org; auth=none
- References: <1423524046-20605-1-git-send-email-palves at redhat dot com> <1423524046-20605-4-git-send-email-palves at redhat dot com>
On Mon, Feb 09, 2015 at 11:20:13PM +0000, Pedro Alves wrote:
> This patch renames symbols that happen to have names which are
> reserved keywords in C++.
> Most of this was generated with Tromey's cxx-conversion.el script.
> Some places where later hand massaged a bit, to fix formatting, etc.
> And this was rebased several times meanwhile, along with re-running
> the script, so re-running the script from scratch probably does not
> result in the exact same output. I don't think that matters anyway.
> 2015-02-09 Tom Tromey <firstname.lastname@example.org>
> Pedro Alves <email@example.com>
> Rename symbols whose names are reserved C++ keywords throughout.
*if* this is reasonably easy to do, can we rename "namespace" into
"domain" instead of "the_namespace"? "namespace" comes from our old
terminology, I think, and we've been using "enum_domain" since, so
if we're going to have to change the variable/parameter names also,
might as well use "domain" instead?