From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71128 invoked by alias); 15 Nov 2018 15:59:03 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 71107 invoked by uid 89); 15 Nov 2018 15:59:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=15AM, 15am X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 15 Nov 2018 15:59:01 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7DDB4C04959B; Thu, 15 Nov 2018 15:59:00 +0000 (UTC) Received: from redhat.com (unknown [10.20.4.212]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D9400600C3; Thu, 15 Nov 2018 15:58:59 +0000 (UTC) Date: Thu, 15 Nov 2018 15:59:00 -0000 From: Marek Polacek To: Umesh Kalappa Cc: jason@redhat.com, gcc-patches@gcc.gnu.org, kamlesh kumar Subject: Re: Bug 52869 - [DR 1207] "this" not being allowed in noexcept clauses Message-ID: <20181115155858.GP28582@redhat.com> References: <20181113154008.GE28582@redhat.com> <20181114143348.GH28582@redhat.com> <20181114185327.GK28582@redhat.com> <20181115155615.GO28582@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181115155615.GO28582@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-SW-Source: 2018-11/txt/msg01392.txt.bz2 On Thu, Nov 15, 2018 at 10:56:15AM -0500, Marek Polacek wrote: > + if (current_class_type) > + inject_this_parameter (current_class_type, TYPE_UNQUALIFIED); > > I think you can remove the if here. Actually you probably need it after all. Marek