public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: Pedro Alves <pedro@palves.net>,
	Simon Marchi <simon.marchi@polymtl.ca>,
	Simon Marchi <simon.marchi@efficios.com>,
	gdb-patches@sourceware.org
Subject: Re: [gdb/build] Fix Wimplicit-exception-spec-mismatch in clang build
Date: Wed, 10 Nov 2021 14:32:08 +0100	[thread overview]
Message-ID: <e8024414-57f8-ff32-af8c-20c4bae1f758@suse.de> (raw)
In-Reply-To: <5684dfa8-572d-f21c-c3dd-a9610d036f06@palves.net>

On 11/5/21 6:07 PM, Pedro Alves wrote:
> On 2021-11-05 10:03, Tom de Vries via Gdb-patches wrote:
>>  
>> +extern void
>> +operator delete (void *p, std::size_t) noexcept;
> 
> The convention is to not format declarations with function name at column 0.  So here:
> 
> extern void operator delete (void *p, std::size_t) noexcept;
> 

Done.

>> +
>>  void
>>  operator delete (void *p, std::size_t) noexcept
>>  {
>>    return ::operator delete (p, std::nothrow);
>>  }
>>  
>> +extern void operator delete[] (void *p) noexcept;
>> +
> 
> ... like you did here.
> 
> I suggest a comment mentioning the need to declare these if compiling in C++11.
> 

Done, and split off into separate patch, refiled at
https://sourceware.org/pipermail/gdb-patches/2021-November/183311.html .

I'll commit in a few days unless there are further comments.

Thanks,
- Tom

      reply	other threads:[~2021-11-10 13:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02 20:34 [PATCH] gdb/testsuite: set ASAN_OPTIONS=detect_leaks=0 while running tests Simon Marchi
2021-11-03 10:24 ` Tom de Vries
2021-11-03 12:28   ` Tom de Vries
2021-11-03 14:45     ` Simon Marchi
2021-11-04 11:55       ` Tom de Vries
2021-11-04 20:04   ` Simon Marchi
2021-11-05 10:03     ` [gdb/build] Fix Wimplicit-exception-spec-mismatch in clang build Tom de Vries
2021-11-05 14:24       ` Simon Marchi
2021-11-05 17:00         ` Pedro Alves
2021-11-05 17:07       ` Pedro Alves
2021-11-10 13:32         ` Tom de Vries [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e8024414-57f8-ff32-af8c-20c4bae1f758@suse.de \
    --to=tdevries@suse.de \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@palves.net \
    --cc=simon.marchi@efficios.com \
    --cc=simon.marchi@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).