From unknown Sat Aug 16 19:15:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7916: [PATCH] cc-mode does not fontify constructors and destructors with exception specifications Resent-From: Daniel Colascione Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Jan 2011 06:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7916 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 7916@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129602262712837 (code B ref -1); Wed, 26 Jan 2011 06:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jan 2011 06:17:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Phygk-0003L0-Hj for submit@debbugs.gnu.org; Wed, 26 Jan 2011 01:17:06 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Phygi-0003KU-5H for submit@debbugs.gnu.org; Wed, 26 Jan 2011 01:17:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhyoX-0008Fy-OX for submit@debbugs.gnu.org; Wed, 26 Jan 2011 01:25:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:45718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhyoX-0008Fu-Lu for submit@debbugs.gnu.org; Wed, 26 Jan 2011 01:25:09 -0500 Received: from [140.186.70.92] (port=36361 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhyoW-0007ll-Lb for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 01:25:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhyoV-0008FK-B1 for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 01:25:08 -0500 Received: from mail-qy0-f176.google.com ([209.85.216.176]:40219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhyoU-0008FB-TH for bug-gnu-emacs@gnu.org; Wed, 26 Jan 2011 01:25:07 -0500 Received: by qyk10 with SMTP id 10so636852qyk.0 for ; Tue, 25 Jan 2011 22:25:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=aU2XLoNtGrwQ2biASy71W3p0pfoHyQRVmh+cNTX5Z/I=; b=OVjv72EOoe230Yl7E30X1HVKt9znt4ASrb2BEaKqSjB5ZsTCfWlxbYj4FaThVBtvXd j8DChKzB8dWEf7Ar7neylE+qbB0DwI9XsIuaYNLiHr/E0x9abVGzbz7FEm5NU7GqLHR1 78uTRXfQ/QuwQkRV0KUVdxOiSeKwA6pnawwfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GQ1yBiANuZ9/mAwJkQg6ac5xsskESiKeGufS9EhKvAni1anoP0E16lj1dzpFvv7Hgx Pic180QPe6dUkJDQveFVz6jF12rbf7AJubzTPKCgkS9Kp0Gr2vI+gHXnqnyKGmlziTrf Aaz7OjettBQIrP7yCvxCKgq4PS9M3emoUf2J0= MIME-Version: 1.0 Received: by 10.224.179.76 with SMTP id bp12mr64986qab.264.1296023105997; Tue, 25 Jan 2011 22:25:05 -0800 (PST) Received: by 10.220.200.11 with HTTP; Tue, 25 Jan 2011 22:25:05 -0800 (PST) Date: Tue, 25 Jan 2011 22:25:05 -0800 Message-ID: From: Daniel Colascione Content-Type: multipart/mixed; boundary=20cf302ef8b6da8b1e049ab9e46c X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --20cf302ef8b6da8b1e049ab9e46c Content-Type: text/plain; charset=ISO-8859-1 struct foo { foo() throw() {} ~foo() throw() {} }; struct bar { bar() throw(); ~bar() throw(); } struct qux { qux(); ~qux() {} }; qux::qux() { } bar::~bar() throw() {} --20cf302ef8b6da8b1e049ab9e46c Content-Type: text/plain; charset=US-ASCII; name="condestruc.patch" Content-Disposition: attachment; filename="condestruc.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gjdunlnn0 PT09IG1vZGlmaWVkIGZpbGUgJ2xpc3AvcHJvZ21vZGVzL2NjLWVuZ2luZS5lbCcKLS0tIGxpc3Av cHJvZ21vZGVzL2NjLWVuZ2luZS5lbAkyMDExLTAxLTI2IDA1OjA2OjU5ICswMDAwCisrKyBsaXNw L3Byb2dtb2Rlcy9jYy1lbmdpbmUuZWwJMjAxMS0wMS0yNiAwNTo0MToxNyArMDAwMApAQCAtNjU4 OCw3ICs2NTg4LDIyIEBACiAJCSAgICAgKHdoZW4gKGFuZCAobm90IGdvdC1zdWZmaXgtYWZ0ZXIt cGFyZW5zKQogCQkJCSg9IHBhcmVuLWRlcHRoIDApKQogCQkgICAgICAgKHNldHEgZ290LXN1ZmZp eC1hZnRlci1wYXJlbnMgKG1hdGNoLWJlZ2lubmluZyAwKSkpCi0JCSAgICAgKHNldHEgZ290LXN1 ZmZpeCB0KSkpCisJCSAgICAgKHNldHEgZ290LXN1ZmZpeCB0KQorCisJCSAgICAgKHdoZW4gKGFu ZCAobm90IGdvdC1pZGVudGlmaWVyKQorCQkJCShub3QgZ290LXByZWZpeCkKKwkJCQljLXJlY29n bml6ZS10eXBlbGVzcy1kZWNscworCQkJCWMtYWx3YXlzLXBvc3RmaXgtc3VmZml4ZXMKKwkJCQko cHJvZ24gKGdvdG8tY2hhciAobWF0Y2gtYmVnaW5uaW5nIDEpKQorCQkJCSAgICAgICAoc2F2ZS1t YXRjaC1kYXRhCisJCQkJCSAobG9va2luZy1hdCBjLWFsd2F5cy1wb3N0Zml4LXN1ZmZpeGVzKSkp KQorCQkgICAgICAgOzsgInRocm93IiBhbmQgb3RoZXIga2V5d29yZHMgY2FuIG9ubHkgYXBwZWFy CisJCSAgICAgICA7OyBhZnRlciBhbiBpZGVudGlmaWVyIGluIGEgZGVjbGFyYXRpb24uIElmIHdl CisJCSAgICAgICA7OyBzZWUgaXQgYW5kIHdlJ3ZlIHNlZW4gYSB0eXBlLCB0aGUgdHlwZSBpcwor CQkgICAgICAgOzsgcmVhbGx5IHRoZSBpZGVudGlmaWVyLgorCQkgICAgICAgKGMtZmRvYy1zaGlm dC10eXBlLWJhY2t3YXJkKSkKKwkJICAgICAKKwkJICAgICB0KSkKIAogCSAgICAgICA7OyBObyBz dWZmaXggbWF0Y2hlZC4gIFdlIG1pZ2h0IGhhdmUgbWF0Y2hlZCB0aGUKIAkgICAgICAgOzsgaWRl bnRpZmllciBhcyBhIHR5cGUgYW5kIHRoZSBvcGVuIHBhcmVuIG9mIGEKCj09PSBtb2RpZmllZCBm aWxlICdsaXNwL3Byb2dtb2Rlcy9jYy1sYW5ncy5lbCcKLS0tIGxpc3AvcHJvZ21vZGVzL2NjLWxh bmdzLmVsCTIwMTEtMDEtMjUgMDk6MzM6NTkgKzAwMDAKKysrIGxpc3AvcHJvZ21vZGVzL2NjLWxh bmdzLmVsCTIwMTEtMDEtMjYgMDU6NDE6MTcgKzAwMDAKQEAgLTQwMjMsNiArNDAyMywxNSBAQAog KGMtbGFuZy1kZWZ2YXIgYy10eXBlLWRlY2wtc3VmZml4LWtleSAoYy1sYW5nLWNvbnN0IGMtdHlw ZS1kZWNsLXN1ZmZpeC1rZXkpCiAgICdkb250LWRvYykKIAorKGMtbGFuZy1kZWZjb25zdCBjLWFs d2F5cy1wb3N0Zml4LXN1ZmZpeGVzCisgICJMaXN0IG9mIHdvcmRzIHRoYXQgY2FuIGFwcGVhciBv bmx5IGFmdGVyIHRoZSBpZGVudGlmaWVyIGluIGEKKyAgZGVjbGFyYXRvciAtLS0gZS5nLiwgXCJ0 aHJvd1wiIGZvciBhIEMrKyBleGNlcHRpb24gc3BlY2lmaWNhdGlvbi4iCisgIHQgbmlsCisgIGMr KyAnKCJ0aHJvdyIgInNlYWxlZCIgIm92ZXJyaWRlIikpCisoYy1sYW5nLWRlZnZhciBjLWFsd2F5 cy1wb3N0Zml4LXN1ZmZpeGVzCisgIChjb25jYXQKKyAgIChyZWdleHAtb3B0IChjLWxhbmctY29u c3QgYy1hbHdheXMtcG9zdGZpeC1zdWZmaXhlcyBjKyspKSAiXFw+IikpCisKIChjLWxhbmctZGVm Y29uc3QgYy1hZnRlci1zdWZmaXhlZC10eXBlLWRlY2wta2V5CiAgICJUaGlzIHJlZ2V4cCBpcyBt YXRjaGVkIGFmdGVyIGEgZGVjbGFyYXRvciBleHByZXNzaW9uIHdoZXJlCiBgYy10eXBlLWRlY2wt c3VmZml4LWtleScgaGFzIG1hdGNoZWQuICBJZiBpdCBtYXRjaGVzIHRoZW4gdGhlCgo= --20cf302ef8b6da8b1e049ab9e46c-- From unknown Sat Aug 16 19:15:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7916: [PATCH] cc-mode does not fontify constructors and destructors with exception specifications Resent-From: Daniel Colascione Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 30 Jan 2011 21:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7916 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: patch To: bug-gnu-emacs@gnu.org Cc: Alan Mackenzie Received: via spool by submit@debbugs.gnu.org id=B.129642349225139 (code B ref -1); Sun, 30 Jan 2011 21:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jan 2011 21:38:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PjeyJ-0006XQ-6t for submit@debbugs.gnu.org; Sun, 30 Jan 2011 16:38:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PjeyF-0006XD-Fb for submit@debbugs.gnu.org; Sun, 30 Jan 2011 16:38:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pjf6H-0005W3-EL for submit@debbugs.gnu.org; Sun, 30 Jan 2011 16:46:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:35094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pjf6D-0005VL-7E for submit@debbugs.gnu.org; Sun, 30 Jan 2011 16:46:25 -0500 Received: from [140.186.70.92] (port=54419 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pjf5p-0002mJ-2K for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2011 16:46:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pjf4L-0005Kv-Nt for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2011 16:44:26 -0500 Received: from lo.gmane.org ([80.91.229.12]:49447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pjf4L-0005Kr-CF for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2011 16:44:25 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pjf4J-0002xV-Uz for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2011 22:44:23 +0100 Received: from c-67-183-23-114.hsd1.wa.comcast.net ([67.183.23.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Jan 2011 22:44:23 +0100 Received: from dan.colascione by c-67-183-23-114.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Jan 2011 22:44:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: Daniel Colascione Date: Sun, 30 Jan 2011 13:44:09 -0800 Lines: 78 Message-ID: <4D45DBA9.4020104@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040103010109020909000603" X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-67-183-23-114.hsd1.wa.comcast.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: X-Enigmail-Version: 1.1.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.5 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) This is a multi-part message in MIME format. --------------040103010109020909000603 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Updated patch attached. The previous version choked on lambda-expressions because I didn't take into account the side effects of a test. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iEYEARECAAYFAk1F26gACgkQ17c2LVA10VvNYgCgsMDhZ4pEQn7GFdfTKk/H3THx nFUAoIk1QCxaiokX3Ol25Vhj05Q7Vl4x =mp5G -----END PGP SIGNATURE----- --------------040103010109020909000603 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="construc-destruc-2.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="construc-destruc-2.patch" === modified file 'lisp/progmodes/cc-engine.el' --- lisp/progmodes/cc-engine.el 2011-01-25 04:08:28 +0000 +++ lisp/progmodes/cc-engine.el 2011-01-30 21:40:16 +0000 @@ -6483,7 +6483,23 @@ (when (and (not got-suffix-after-parens) (= paren-depth 0)) (setq got-suffix-after-parens (match-beginning 0))) - (setq got-suffix t))) + (setq got-suffix t) + + (when (and (not got-identifier) + (not got-prefix) + c-recognize-typeless-decls + c-always-postfix-suffixes + (save-excursion + (goto-char (match-beginning 1)) + (save-match-data + (looking-at c-always-postfix-suffixes)))) + ;; "throw" and other keywords can only appear + ;; after an identifier in a declaration. If we + ;; see it and we've seen a type, the type is + ;; really the identifier. + (c-fdoc-shift-type-backward)) + + t)) ;; No suffix matched. We might have matched the ;; identifier as a type and the open paren of a === modified file 'lisp/progmodes/cc-langs.el' --- lisp/progmodes/cc-langs.el 2011-01-26 08:36:39 +0000 +++ lisp/progmodes/cc-langs.el 2011-01-30 21:40:16 +0000 @@ -2721,6 +2721,15 @@ (c-lang-defvar c-type-decl-suffix-key (c-lang-const c-type-decl-suffix-key) 'dont-doc) +(c-lang-defconst c-always-postfix-suffixes + "List of words that can appear only after the identifier in a + declarator --- e.g., \"throw\" for a C++ exception specification." + t nil + c++ '("throw" "sealed" "override")) +(c-lang-defvar c-always-postfix-suffixes + (concat + (regexp-opt (c-lang-const c-always-postfix-suffixes c++)) "\\>")) + (c-lang-defconst c-after-suffixed-type-decl-key "This regexp is matched after a declarator expression where `c-type-decl-suffix-key' has matched. If it matches then the --------------040103010109020909000603-- From unknown Sat Aug 16 19:15:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7916: [PATCH] cc-mode does not fontify constructors and destructors with exception specifications Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 26 Feb 2016 06:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7916 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: patch To: Daniel Colascione Cc: 7916@debbugs.gnu.org Received: via spool by 7916-submit@debbugs.gnu.org id=B7916.145646792032227 (code B ref 7916); Fri, 26 Feb 2016 06:26:01 +0000 Received: (at 7916) by debbugs.gnu.org; 26 Feb 2016 06:25:20 +0000 Received: from localhost ([127.0.0.1]:46649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZBq4-0008Nj-Cu for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:25:20 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:41036) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZBq2-0008Na-NF for 7916@debbugs.gnu.org; Fri, 26 Feb 2016 01:25:19 -0500 Received: from [175.103.25.178] (helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aZBpg-0005Hi-4Q; Fri, 26 Feb 2016 07:24:56 +0100 From: Lars Ingebrigtsen References: Date: Fri, 26 Feb 2016 16:54:51 +1030 In-Reply-To: (Daniel Colascione's message of "Tue, 25 Jan 2011 22:25:05 -0800") Message-ID: <87a8mougy4.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aZBpg-0005Hi-4Q X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1457072697.14236@h0nyrLDLsTC7JoC3e6pJhQ X-Spam-Status: No X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Daniel Colascione writes: > struct foo { > foo() throw() {} > ~foo() throw() {} > }; > > struct bar { > bar() throw(); > ~bar() throw(); > } > > struct qux { > qux(); > ~qux() {} > }; > > qux::qux() { > > } > > bar::~bar() throw() > {} This seems to be working OK on the Emacs trunk, I think. Although I'm not quite sure what I should be looking for. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Aug 16 19:15:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7916: [PATCH] cc-mode does not fontify constructors and destructors with exception specifications Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 27 Jun 2019 16:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7916 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: patch To: Daniel Colascione Cc: 7916@debbugs.gnu.org Received: via spool by 7916-submit@debbugs.gnu.org id=B7916.15616534268584 (code B ref 7916); Thu, 27 Jun 2019 16:38:02 +0000 Received: (at 7916) by debbugs.gnu.org; 27 Jun 2019 16:37:06 +0000 Received: from localhost ([127.0.0.1]:39431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgXOT-0002EO-N4 for submit@debbugs.gnu.org; Thu, 27 Jun 2019 12:37:05 -0400 Received: from quimby.gnus.org ([80.91.231.51]:45294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgXOS-0002EG-FC for 7916@debbugs.gnu.org; Thu, 27 Jun 2019 12:37:04 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgXON-0007hz-N1; Thu, 27 Jun 2019 18:37:03 +0200 From: Lars Ingebrigtsen References: <87a8mougy4.fsf@gnus.org> Date: Thu, 27 Jun 2019 18:36:59 +0200 In-Reply-To: <87a8mougy4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 26 Feb 2016 16:54:51 +1030") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Daniel Colascione writes: > >> struct foo { >> foo() throw() {} >> ~foo() throw() {} >> }; >> >> struct bar { >> bar() throw(); >> ~bar() throw(); >> } >> >> struct qux { [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Daniel Colascione writes: > >> struct foo { >> foo() throw() {} >> ~foo() throw() {} >> }; >> >> struct bar { >> bar() throw(); >> ~bar() throw(); >> } >> >> struct qux { >> qux(); >> ~qux() {} >> }; >> >> qux::qux() { >> >> } >> >> bar::~bar() throw() >> {} > > This seems to be working OK on the Emacs trunk, I think. Although I'm > not quite sure what I should be looking for. There was no response three years ago, and putting that in a .cc file and loading it, I can't see anything particularly wrong, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 27 12:37:14 2019 Received: (at control) by debbugs.gnu.org; 27 Jun 2019 16:37:14 +0000 Received: from localhost ([127.0.0.1]:39434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgXOc-0002Eo-0l for submit@debbugs.gnu.org; Thu, 27 Jun 2019 12:37:14 -0400 Received: from quimby.gnus.org ([80.91.231.51]:45308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgXOa-0002Ef-3t for control@debbugs.gnu.org; Thu, 27 Jun 2019 12:37:12 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgXOX-0007iA-Ie for control@debbugs.gnu.org; Thu, 27 Jun 2019 18:37:11 +0200 Date: Thu, 27 Jun 2019 18:37:09 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #7916 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 7916 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 7916 quit