From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id E3BB03858D28 for ; Thu, 6 Apr 2023 15:43:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E3BB03858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca Received: from [172.16.0.146] (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 3E0FD1E0D3; Thu, 6 Apr 2023 11:43:12 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1680795792; bh=z98dRWuMDkhu9gZ1n2HwBBz1QhWm4xdldP78Mj3+uXw=; h=Date:Subject:To:References:From:In-Reply-To:From; b=rNsq2ojF4Ow1BkiFPKWnAR9AZ/kB9Z5RsUA3uGBli3a/XiEqzOtEhrSVMcqlZutAT KskLwvaS2BQTrQtBk/uaQGsbWyYpoTUd6CMQJ1kVdMCLtLYkKMpdgNdTjbUEGmVXhA Tpme/x8G1hAKIMNow3hJvf0065LoTDSjSXMybH+c= Message-ID: Date: Thu, 6 Apr 2023 11:43:11 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH] Use unique_xmalloc_ptr in apply_ext_lang_type_printers Content-Language: fr To: Tom Tromey , gdb-patches@sourceware.org References: <20230406150636.2676355-1-tromey@adacore.com> From: Simon Marchi In-Reply-To: <20230406150636.2676355-1-tromey@adacore.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 4/6/23 11:06, Tom Tromey via Gdb-patches wrote: > This changes apply_ext_lang_type_printers to use unique_xmalloc_ptr, > removing some manual memory management. Regression tested on x86-64 > Fedora 36. LGTM. Approved-By: Simon Marchi Simon