From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id yDpGAjNzkWcv0BcAWB0awg (envelope-from ) for ; Wed, 22 Jan 2025 17:37:39 -0500 Received: by simark.ca (Postfix, from userid 112) id 0587D1E100; Wed, 22 Jan 2025 17:37:39 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2 autolearn=unavailable autolearn_force=no version=4.0.0 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 AB21F1E05C for ; Wed, 22 Jan 2025 17:37:38 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 417783858280 for ; Wed, 22 Jan 2025 22:37:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 417783858280 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by sourceware.org (Postfix) with ESMTP id 433A73858416 for ; Wed, 22 Jan 2025 22:36:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 433A73858416 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=orcam.me.uk ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 433A73858416 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:4190:8020::34 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1737585414; cv=none; b=GanMhwAMqAeUtl1x6SarRrQppGQxaqWULkVRpehk5qQkOiCkYQygS8s8gryxvdAFJMixqXzW32sfAPYUmGxkJo4a/oN87+yMP+2YMBsGViOgpcAbcRmUV0ABsJlY4gbH8exETWODYkOcKieUalXKCghFiKeuWYZ21B8iNmiwbBE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1737585414; c=relaxed/simple; bh=TtAsKdgXcRU2TNCE8Mp87nqFiQH42ohU1VGEwE70eu8=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=hg2FRDPmpUt5dJZ8vt045ZCqcEKSs5bLLWFCWV+ioLoQLkEu757YmaGhmlASusza5Eao6HujwSMw9n5xZmcw3KCq0WGwjGPj2yOcCVkLmdTRty3ox85uhYF7Kw86sID/I9NCGHnm7ymrUnRQRNjLYgylE8oIxR1GMaJqpYsyLhA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 433A73858416 Received: by angie.orcam.me.uk (Postfix, from userid 500) id 7FEBA92009C; Wed, 22 Jan 2025 23:36:52 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 7986592009B; Wed, 22 Jan 2025 22:36:52 +0000 (GMT) Date: Wed, 22 Jan 2025 22:36:52 +0000 (GMT) From: "Maciej W. Rozycki" To: Tom Tromey cc: Simon Marchi , Luis Machado , "Aktemur, Tankut Baris via Gdb" , "Aktemur, Tankut Baris" Subject: Re: automated coding style tool In-Reply-To: <8734hgufsw.fsf@tromey.com> Message-ID: References: <86538dac-6c3a-4b9e-9de9-3906e645fa4d@redhat.com> <87y16vwbzl.fsf@tromey.com> <74c8b867-f5bb-48f7-9849-11d06e63a3d7@arm.com> <87tta2r5z2.fsf@redhat.com> <87tta1qq1i.fsf@tromey.com> <2985f4ae-33c0-4e02-8982-fa132f4d3741@simark.ca> <87msftuhd3.fsf@tromey.com> <8734hgufsw.fsf@tromey.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" On Sat, 18 Jan 2025, Tom Tromey wrote: > Maciej> We have a coding style tool onboard our GNU Project already, it's called > Maciej> GNU indent and I think it would be consistent with our project to improve > Maciej> the tool we already have rather than seeking alternatives outside. > > That would be good but I think GNU indent is mostly unmaintained. > The last time I looked at it, it didn't know very much about C++ at all. The most recent release was made in 2023 and the previous one -- back in 2018. Not too bad per GNU Project's standards, so I wouldn't consider the program unmaintained, but rather that not much development has happened in the recent years because, unsurprisingly, support for C has been pretty much complete. I realise it has no C++ support, but as software engineers and then also contributors to the GNU Project we are in the best position to change it. So I think that if there's a tool out there that either already fulfils our needs or almost does and could be brought to completion very easily, then it will make sense to invest our resources in it, but otherwise we should really consider improving GNU indent instead. FWIW, Maciej