From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by sourceware.org (Postfix) with ESMTP id EA3D13858D38 for ; Fri, 7 Aug 2020 15:48:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EA3D13858D38 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-10-CLVN27moM4GbeCtPDGtYoA-1; Fri, 07 Aug 2020 11:48:37 -0400 X-MC-Unique: CLVN27moM4GbeCtPDGtYoA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5A54157; Fri, 7 Aug 2020 15:48:36 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-113-174.ams2.redhat.com [10.36.113.174]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CF4337C0E5; Fri, 7 Aug 2020 15:48:35 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id 077FmWSm032304; Fri, 7 Aug 2020 17:48:32 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id 077FmTXB032303; Fri, 7 Aug 2020 17:48:29 +0200 Date: Fri, 7 Aug 2020 17:48:29 +0200 From: Jakub Jelinek To: Joel Brobecker Cc: Luis Machado via Gcc , Simon Marchi , "gdb@sourceware.org" , Pedro Alves Subject: Re: Coding style for C++ constructs going forward Message-ID: <20200807154829.GB2363@tucnak> Reply-To: Jakub Jelinek References: <33412819-8a5e-0c7f-7cfb-f3d127dc2242@linaro.org> <20200807145603.GN28417@adacore.com> MIME-Version: 1.0 In-Reply-To: <20200807145603.GN28417@adacore.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2020 15:48:45 -0000 On Fri, Aug 07, 2020 at 07:56:03AM -0700, Joel Brobecker wrote: > > Pedro has pointed out LLVM's coding standards for "auto", which we may or > > may not want to follow/adopt: https://llvm.org/docs/CodingStandards.html#use-auto-type-deduction-to-make-code-more-readable Also see the https://gcc.gnu.org/pipermail/gcc-patches/2020-May/545829.html thread on gcc-patches, including subject 'Describe coding conventions surrounding "auto"' later in the thread. Jakub