GNU bug report logs - #49787
noexcept on destructor confuses cc-mode

Previous Next

Packages: cc-mode, emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Fri, 30 Jul 2021 23:39:01 UTC

Severity: normal

Tags: confirmed

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #18 received at 49787-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, Daniel Colascione <dancol <at> dancol.org>
Cc: 49787-done <at> debbugs.gnu.org, acm <at> muc.de
Subject: Re: bug#49787: noexcept on destructor confuses cc-mode
Date: Wed, 31 Aug 2022 09:15:29 +0000
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 <at> 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).




This bug report was last modified 2 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.