From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by sourceware.org (Postfix) with ESMTPS id E758E385DC0D for ; Mon, 31 Oct 2022 13:37:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E758E385DC0D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-pf1-x432.google.com with SMTP id y13so10693578pfp.7 for ; Mon, 31 Oct 2022 06:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=agJ2ZLoVKpbG1pZaa1uEM+CF3YQce2Qsu2L5gLZF4Uo=; b=dV7mJ5+opZaysqT0MPNC+jiM60/Y2TtmEHUNlBvl/c2TT7pLKHsdr6NbryIP0t6Abu QDDHBA744n3Z4EmR4q33xKcbn4ZGshyUOxQ/JsyeK/L4lXTlg0kmz5VNv1c3etrwJPJt GIlvz44fl/WbVyUAa/9tAGo/4+1Y9MmC/H0vqvbjShHS6IqMVB6O5e31fD7zsI3hrkiN DFXNyE4NEgW0VK76ldRgPIKafnop5YUKbvPEskoU+gpTTDe/fo+bF7vsM12a1mANE0kO CkfItjD2GtMXESuqqT8D+AjzGpV4UEyJ6WaUk7aCGF3OgRhi3aAurKsiwMV13Bx8tJIB O3FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=agJ2ZLoVKpbG1pZaa1uEM+CF3YQce2Qsu2L5gLZF4Uo=; b=dvkrvKO1FpMurNRQaNtOT9dlZiFBJF1PqAjxeUjglsMiQsb6j8ctlHlyr/H/osqMYt k4fgFmedvI0dkJy4RJYCT01h27cX2X/Ob1+g7068gaUcL5o9Um7tYU2tiN3bJ1k4H70f uL6aGIrc/AL5XhI0p3ZIO0CRU2ZOujh1/15JVrv2ZvaxBDwfTurVnx8u93W+8tqpLOqi uho1N8GIS1/oiIQx2wow9eszC5xiWP18e5LFkyCK5G2btwhYlBRjpmqHAl9Nq8xNw1oc sxUIZw0L4lxvVqZqMOVQUFg/VKwtW7/mI4GLSeMpehzFQ8WubGTcCQ/NMel4HGSakGXX FJSA== X-Gm-Message-State: ACrzQf0OYHKy6MmyMR+Iqe8EtBw0z7fFoMDm8wu4ceVEyhHwTG17wqr2 XSO1hgwqgP9skOm6wCF2q/lB X-Google-Smtp-Source: AMsMyM5QS4xyrtfFQuvihuO4uKsKjLvE5dGo3PmfsxmPIC6TYDEko6ucSu2AgoM493wd36GVLKfU8w== X-Received: by 2002:a63:86c6:0:b0:46f:5e43:6b04 with SMTP id x189-20020a6386c6000000b0046f5e436b04mr12707601pgd.539.1667223438004; Mon, 31 Oct 2022 06:37:18 -0700 (PDT) Received: from takamaka.gnat.com ([184.69.131.86]) by smtp.gmail.com with ESMTPSA id g206-20020a6252d7000000b0056232682a7esm4625103pfb.2.2022.10.31.06.37.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 06:37:17 -0700 (PDT) Received: by takamaka.gnat.com (Postfix, from userid 1000) id BB92D84046; Mon, 31 Oct 2022 06:37:16 -0700 (PDT) Date: Mon, 31 Oct 2022 06:37:16 -0700 From: Joel Brobecker To: Simon Marchi via Gdb Cc: Luis Machado , John Baldwin , Mark Wielaard , Joel Brobecker Subject: Re: Any concrete plans after the GDB BoF? Message-ID: References: <83485199-965e-7ff5-1dc8-d027b74b56f7@arm.com> <5924814b-2e53-da09-6125-48ac5a5296e7@simark.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5924814b-2e53-da09-6125-48ac5a5296e7@simark.ca> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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: > I agree with all you said. There is always some resistance related to > how clang-format handles this or that case. In my opinion, that's minor > compared to the benefit of using it. My opinion would be: make the > clang-format config that is closest to our style today, make a big > re-format, and carry on. I agree with that. As long as the formatting is consistent, it might take a little getting used to, but I think we'll be happier if we don't have to spend time worrying about code formatting. The one small obstacle, perhaps, might be if different versions of the tool format things differently. In that case, we might have to clearly state which version we expect the code to be formatted with. I am thinking of the kind of issues we get with the configury which is generated by the auto tools, which is so dependent on the version that even the distro-provided versions introduce spurious differences sometimes, as a result of which I have built my own set of vanilla autotools. If clang-format is tricky to build, we may have issues in that respect... -- Joel