This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb: Replace operator new / operator new[]
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 23 Sep 2016 17:15:40 +0100
- Subject: Re: [PATCH] gdb: Replace operator new / operator new[]
- Authentication-results: sourceware.org; auth=none
- References: <1474543227-19614-1-git-send-email-palves@redhat.com> <CAH=s-PP0NaFO+EsZEEnoGpKMQJc03i1MR9ATaoLuKKZz0Gw0JA@mail.gmail.com> <b13475d1-84dc-3317-cd2d-95f7a5abe8e5@redhat.com>
On Fri, Sep 23, 2016 at 5:07 PM, Pedro Alves <palves@redhat.com> wrote:
>
> I think that if we want to use .cc, it should be a mass rename
> across the board. Ending up with a mix of .c and .cc files when
> both extensions are C++ file is much more confusing than
> all C++ files named .c, IMO.
>
To be clear, I didn't suggest renaming all .c files to .cc files. In case
that we add a new file, I wonder we may name it .cc.
If mixed .c and .cc is confusing, I am fine with cpp files with .c suffix.
--
Yao (齐尧)