* bug#49787: noexcept on destructor confuses cc-mode
@ 2021-07-30 23:38 Daniel Colascione
2022-08-22 10:32 ` Lars Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Colascione @ 2021-07-30 23:38 UTC (permalink / raw)
To: 49787
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#49787: noexcept on destructor confuses cc-mode
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
0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2022-08-22 10:32 UTC (permalink / raw)
To: Daniel Colascione; +Cc: 49787, Alan Mackenzie
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.
I can confirm that this behaviour is still present in Emacs 29. Adding
Alan to the CCs.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#49787: noexcept on destructor confuses cc-mode
2022-08-22 10:32 ` Lars Ingebrigtsen
@ 2022-08-24 19:35 ` Alan Mackenzie
2022-08-31 9:15 ` Alan Mackenzie
0 siblings, 1 reply; 4+ messages in thread
From: Alan Mackenzie @ 2022-08-24 19:35 UTC (permalink / raw)
To: Lars Ingebrigtsen, Daniel Colascione; +Cc: 49787
Hello, Daniel and Lars.
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?
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#49787: noexcept on destructor confuses cc-mode
2022-08-24 19:35 ` Alan Mackenzie
@ 2022-08-31 9:15 ` Alan Mackenzie
0 siblings, 0 replies; 4+ messages in thread
From: Alan Mackenzie @ 2022-08-31 9:15 UTC (permalink / raw)
To: Lars Ingebrigtsen, Daniel Colascione; +Cc: 49787-done, 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).
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-31 9:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.