|
From: | GNU bug Tracking System |
Subject: | bug#49787: closed (noexcept on destructor confuses cc-mode) |
Date: | Wed, 31 Aug 2022 09:16:01 +0000 |
Your message dated Wed, 31 Aug 2022 09:15:29 +0000 with message-id <Yw8msVvL57FQrSEL@ACM> and subject line Re: bug#49787: noexcept on destructor confuses cc-mode has caused the debbugs.gnu.org bug report #49787, regarding noexcept on destructor confuses cc-mode to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@gnu.org.) -- 49787: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49787 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems
--- Begin Message ---Subject: noexcept on destructor confuses cc-mode Date: Fri, 30 Jul 2021 16:38:39 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 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.
--- End Message ---
--- Begin Message ---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@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).
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |