bug#49787: noexcept on destructor confuses cc-mode
Lars Ingebrigtsen <[email protected]> Mon, 22 Aug 2022 12:32:04 +0200
| Newsgroups | gmane.emacs.cc-mode.general |
|---|---|
| Message-ID | <[email protected]> |
Daniel Colascione <[email protected]> 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.