GNU bug report logs - #34594
cc-mode needs to support "final" in C++ classes

Previous Next

Packages: emacs, cc-mode;

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

Date: Wed, 20 Feb 2019 18:49:02 UTC

Severity: minor

Tags: confirmed

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Daniel Colascione" <dancol <at> dancol.org>
To: bug-gnu-emacs <at> gnu.org
Subject: cc-mode needs to support "final" in C++ classes
Date: Wed, 20 Feb 2019 10:33:02 -0800
Consider this:

1 struct QueryCache final : BasePyObject, SupportsGcClear,
2                           HasDict, SupportsWeakRefs

Without the "final", line 2 is classified as inher-cont.  With the
"final", it gets topmost-intro-cont and wrong indentation.





This bug report was last modified 6 years and 83 days ago.

Previous Next


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