From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#49787: noexcept on destructor confuses cc-mode Date: Fri, 30 Jul 2021 16:38:39 -0700 Message-ID: <3cfd5de8-598f-b2c0-9f53-28e2ba433ffa@dancol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3378"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 To: 49787@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 31 01:39:58 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m9c6e-0000e1-5g for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Jul 2021 01:39:56 +0200 Original-Received: from localhost ([::1]:41230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9c6c-0003x3-Ft for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Jul 2021 19:39:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9c5m-0003wv-8K for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 19:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49612) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m9c5m-0000XO-0I for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 19:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m9c5l-0004q0-RU for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 19:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Jul 2021 23:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49787 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162768833418581 (code B ref -1); Fri, 30 Jul 2021 23:39:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jul 2021 23:38:54 +0000 Original-Received: from localhost ([127.0.0.1]:32925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9c5e-0004pd-DO for submit@debbugs.gnu.org; Fri, 30 Jul 2021 19:38:54 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:56964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9c5c-0004pV-CR for submit@debbugs.gnu.org; Fri, 30 Jul 2021 19:38:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9c5b-0003wA-VU for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 19:38:52 -0400 Original-Received: from dancol.org ([2600:3c01:e000:3d8::1]:56952) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9c5Z-0000O8-Qh for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 19:38:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID: Subject:From:To:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=VifdQhU2Y1bGkyOFtVEmUbazmgPff1ir6B2oxTl+5x8=; b=M LE6ou4syNFfnoRJDTOWoPzBlZUdCYoTOAWK62vdsPrlnaPY12e4WiYMFVe24nfk0IVjyQ93AvCskU 4kXrNFeOuqZUG0YAtQAXoWn5haYAf5oHmv9vVMmBeD2sJyKzK+xk69fgdwdZEs+//dO1dBvCE1vkm 1ORNN1/4A0/Y8YIHKEca2EorOME4CyD9AQYyrr4mpfbktiNzFxVYrQIToJiOIZVlTDU52UWa3BwrM MlV//tjpxrucsJol6LL6VHmnUkv5PDmyRoCY6BKYeZCBB7uJiDrGfGVHwL7eCyOyTcgpeGTOc9ip/ Xt1QydfXg6fCQbKkpm7vBuNm23BG3XuOQ==; Original-Received: from [2604:4080:1321:8020:f874:d744:59c6:1880] (port=58106) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1m9c5Q-000641-PP for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 16:38:40 -0700 Content-Language: en-US Received-SPF: pass client-ip=2600:3c01:e000:3d8::1; envelope-from=dancol@dancol.org; helo=dancol.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210952 Archived-At: 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.