Subject: bug#49787: noexcept on destructor confuses cc-mode

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 22 Aug 2022 12:32:04 +0200

Daniel Colascione <[email-masked]> 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.

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