From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id bWjuJcWfPmrcZxkAWB0awg (envelope-from ) for ; Fri, 26 Jun 2026 11:50:29 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=TA7Q+Sma; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 8C6CC1E024; Fri, 26 Jun 2026 11:50:29 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id DD7BB1E024 for ; Fri, 26 Jun 2026 11:50:28 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 724D34BA2E3D for ; Fri, 26 Jun 2026 15:50:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 724D34BA2E3D Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=TA7Q+Sma Received: from omta036.useast.a.cloudfilter.net (omta036.useast.a.cloudfilter.net [44.202.169.35]) by sourceware.org (Postfix) with ESMTPS id D1B7E4BA2E10 for ; Fri, 26 Jun 2026 15:50:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D1B7E4BA2E10 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D1B7E4BA2E10 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=44.202.169.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1782489002; cv=none; b=riLjB1BhcywR0CQOKnVzcEJ3WzwM/Unq3Hk5SEuuvHOhoenXUz0Grde81w/MzhT39k5945PlPlsHb6QnBd5vM6vObvI0eRf8FTyeLiwDurv9idxZkQFv2TTDUJiuy7+PR35Gt8v07SDd7DkdLeBrohIbYIY1aqwEuS5XGELufS8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1782489002; c=relaxed/simple; bh=7SCOcirAbhn1r32mVl8NiE5uaM57leKlSUOidKhrYMM=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=iUPO+B+K6i0fkwPHnNcbi94nCJlHLpUiMhKjaA4xoQKUYdgFA2Mekd/gzkIiBKFRjrdUeWBuA6RtOszQbrozJzvPJW8LWc80E3oOqQXvKq1flwXlK4EV2aWDdJYYMiGXN+9iSbdGb7Fj3D461UGjhCo4kKm8hURKefGUl9ZyMZA= ARC-Authentication-Results: i=1; sourceware.org; dkim=policy (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=TA7Q+Sma reason="signing key too small" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D1B7E4BA2E10 Received: from eig-obgw-6003b.ext.cloudfilter.net ([10.0.30.175]) by cmsmtp with ESMTPS id cqQDw531GgwLnd8ocwk6uw; Fri, 26 Jun 2026 15:50:02 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id d8obw0Nfg0F22d8obwGMac; Fri, 26 Jun 2026 15:50:01 +0000 X-Authority-Analysis: v=2.4 cv=Z+fsHGRA c=1 sm=1 tr=0 ts=6a3e9faa a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=FelO9ux0wxsA:10 a=ItBw4LHWJt0A:10 a=wad_Q-Mvk0_PBWmHEEYA:9 a=vsCvvem9CHYA:10 a=6KDmPahKW5ILxopYhpMU:22 a=DCx65vhANUyCzuf5D8fC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8hnr29Xq3ichdQeVY2xlXGrvuki1oNZiV4usIRYIkd4=; b=TA7Q+SmaxR518Yx1aAotNkYcsk OnHmKUPX6oGFbHH8J46Zuq0Aje2U6gFu1w3Dxa036TbdgG9TBNZadal32d9oLuoe75Vk8GxZ+VDEQ zfkKE5zk8KVHp7D+jr9sCED+X; Received: from 75-166-225-82.hlrn.qwest.net ([75.166.225.82]:44096 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.2) (envelope-from ) id 1wd8oa-00000000uJ9-3cWj; Fri, 26 Jun 2026 09:50:00 -0600 From: Tom Tromey To: Tom de Vries Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 03/12] [gdb] Use using instead of typedef some more (part 3) In-Reply-To: <20260616062257.3164438-4-tdevries@suse.de> (Tom de Vries's message of "Tue, 16 Jun 2026 08:22:48 +0200") References: <20260616062257.3164438-1-tdevries@suse.de> <20260616062257.3164438-4-tdevries@suse.de> X-Attribution: Tom Date: Fri, 26 Jun 2026 09:49:59 -0600 Message-ID: <875x35wbbs.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.225.82 X-Source-L: No X-Exim-ID: 1wd8oa-00000000uJ9-3cWj X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-225-82.hlrn.qwest.net (bapiya) [75.166.225.82]:44096 X-Source-Auth: tom+tromey.com X-Email-Count: 11 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfC4F74DYPhjvVvqO3OnHPIBuuguTuLvSUo0CQ9bRVRAk/1t1AXj7ls7monWdAOVb5GlembGGQ2hZkWbBUScIj3Kj9+X55BmDXocf8OK0q4i6TJPqMXLI N1EiAtR1+8C2gLLc+3fsk+osI/Tsks5v2L+DWseIHS+yRupDCtGYnJkSjj4MwxaAsl0wS2Y2uW1KtWL1h2R+iADQG6/LHv+zKRg= X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org >>>>> "Tom" == Tom de Vries writes: Tom> -typedef enum { wp_insert, wp_remove, wp_count } wp_op; Tom> +using wp_op = enum { wp_insert, wp_remove, wp_count }; IMO it's more normal to write 'enum wp_op { ... }' here. Tom