unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Lars Ingebrigtsen <larsi@gnus.org>,
	Daniel Colascione <dancol@dancol.org>
Cc: 49787-done@debbugs.gnu.org, acm@muc.de
Subject: bug#49787: noexcept on destructor confuses cc-mode
Date: Wed, 31 Aug 2022 09:15:29 +0000	[thread overview]
Message-ID: <Yw8msVvL57FQrSEL@ACM> (raw)
In-Reply-To: <YwZ9jFfslXE7LrJs@ACM>

Hello, everybody

On Wed, Aug 24, 2022 at 19:35:40 +0000, Alan Mackenzie wrote:
> On Mon, Aug 22, 2022 at 12:32:04 +0200, Lars Ingebrigtsen wrote:
> > Daniel Colascione <dancol@dancol.org> writes:

> > > This is valid C++ code.

> > > struct Foo {

> > >   ~Foo() noexcept;

> > > };

> > > Adding the "noexcept" on the destructor causes cc-mode not to
> > > recognize "~Foo" as a destructor.

> Yes.

> > I can confirm that this behaviour is still present in Emacs 29.  Adding
> > Alan to the CCs.

> I committed a fix to the master branch.  Would either of you like to test
> the fix before I close the bug?

I'm now closing the bug, which has been fixed.

-- 
Alan Mackenzie (Nuremberg, Germany).





      reply	other threads:[~2022-08-31  9:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-30 23:38 bug#49787: noexcept on destructor confuses cc-mode Daniel Colascione
2022-08-22 10:32 ` Lars Ingebrigtsen
2022-08-24 19:35   ` Alan Mackenzie
2022-08-31  9:15     ` Alan Mackenzie [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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=Yw8msVvL57FQrSEL@ACM \
    --to=acm@muc.de \
    --cc=49787-done@debbugs.gnu.org \
    --cc=dancol@dancol.org \
    --cc=larsi@gnus.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).