From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 4D1823858D35 for ; Wed, 15 Feb 2023 14:36:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4D1823858D35 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676471812; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ukdQR1k5GlmrCBrDrVL17Zq6a1sKRWXg6VFHbSB3OAg=; b=Ggns9MrxMUQA6L26mFpzJuRsLo+RWuchtmNQUmXBdw3GnJzu/HqrhUby+i2RfH6tNG4omO znQZN6SL3UhCyQAltL5QQi9ub4DMATbYL2iE8Eio0vb4nzC9P6d9+GKZ57I5p+HNf9DEME NLTKuw+UsPEQEa2x4v0mS6oGpHef4J4= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-244-G80BLk33MRqUAKeFKe1G9A-1; Wed, 15 Feb 2023 09:36:51 -0500 X-MC-Unique: G80BLk33MRqUAKeFKe1G9A-1 Received: by mail-qt1-f198.google.com with SMTP id a24-20020ac87218000000b003bb7c7a82f7so11084389qtp.9 for ; Wed, 15 Feb 2023 06:36:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ukdQR1k5GlmrCBrDrVL17Zq6a1sKRWXg6VFHbSB3OAg=; b=FjzJVmI0GNDCrtz8YaTdYn3eegGrId7erkwXuv+uCuNe3GEdMf0Wsz9845uK3V/0kj LFX8l7uhzI3SbLW9Vm8eKfkjEeoR3a5YQZocshh1hfQB3mOpMSPq6cTg4MmCjVqXt/nb N6KP4eQ/QoRobMpTlvUQfWMnkpbl9NF+2+SgClLnLlNXGGLM4m3JEPdz/pz+rSdw5khL 6Au1WaZq6n5Dy2b4QQQbP80BEdMgCR48jHvp7mo5/EMas16Fdz2swVXIosXYRK1fIeF0 r6Bf4skDxoOCIq55TVp/g1Tcyva3RS+eoFCP7f8TII6Ex2mzIb/AHlGZ6w3W5/Kj1DKV bevA== X-Gm-Message-State: AO0yUKVRiLrvizw95i2FNRQXRkwJcjyFf2IeApounQjmCnfjGxhYXpb4 8Phe8bWwJ0NeEKrryH1mgpZS7JpNaFG5ZK9Zr+vnZSF4KViCp6cXC7tAPXnrRuqBREfWACo1Vru k4dcx22dGW9U= X-Received: by 2002:a05:622a:c4:b0:3bb:760d:9345 with SMTP id p4-20020a05622a00c400b003bb760d9345mr3543869qtw.0.1676471811275; Wed, 15 Feb 2023 06:36:51 -0800 (PST) X-Google-Smtp-Source: AK7set+psktVaNykK+xPDYRahklIzQYYwO06wAyVoROy3misa0ivCsLRMx0aKzl+dCDYXPnI9FyeGQ== X-Received: by 2002:a05:622a:c4:b0:3bb:760d:9345 with SMTP id p4-20020a05622a00c400b003bb760d9345mr3543841qtw.0.1676471811023; Wed, 15 Feb 2023 06:36:51 -0800 (PST) Received: from localhost (95.72.115.87.dyn.plus.net. [87.115.72.95]) by smtp.gmail.com with ESMTPSA id z5-20020a379705000000b00705cef9b84asm13689933qkd.131.2023.02.15.06.36.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 06:36:50 -0800 (PST) From: Andrew Burgess To: Mark Wielaard Cc: Simon Marchi , Joel Brobecker , Simon Marchi via Gdb Subject: Re: Any concrete plans after the GDB BoF? In-Reply-To: References: <83485199-965e-7ff5-1dc8-d027b74b56f7@arm.com> <5924814b-2e53-da09-6125-48ac5a5296e7@simark.ca> <87mt5kunum.fsf@redhat.com> <20230212124345.GH2430@gnu.wildebeest.org> <87r0utu6ew.fsf@redhat.com> Date: Wed, 15 Feb 2023 14:36:48 +0000 Message-ID: <873577m1vj.fsf@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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: Mark Wielaard writes: > Hi Andrew, > > On Mon, 2023-02-13 at 11:54 +0000, Andrew Burgess wrote: >> Mark Wielaard writes: >> >> > But is there already a verions that works? I think that is the >> > difference between the python black formatter for python code and the >> > clang-format for C and C++ code. It seems for the python code there is >> > a supported format that matches what is used, but for clang-format >> > there is not (yet?). >> >> I'm a little confused by your point here. You (correctly) point out >> above that the output from black is pretty stable across versions. >> >> But here it almost seems like you're suggesting that we should chase the >> latest clang-format because it doesn't (currently) support the style we >> use. Which would seem to suggest we are hoping it _will_ change, which >> suggests output instability, which, surely, is a bad thing? But like I >> said, I didn't really understand the question here... > > Sorry, I was just observing that I believe the python with black case > and the C and C++ case with clang-format are not the same. I think we > are in agreement that the python case is probably fine Just for the record, my concerns about using a tool to format C/C++ code hold just as much for Python (i.e. I don't really think our current use of black is "fine"), but I just don't care enough to express an opinion (before now). > (we just > disagree about whether it is future proof - I think we can use whatever > version of black, you are skeptical that the formatting will stay the > same). But for clang-format we don't have a format that seems > acceptable (to at least to some people) and older versions seems to > produce different formatting from newer versions. I'd assumed the output of clang-format would be mostly stable, if that's known not to be true then I think that's a stronger argument for using a known version. Thanks, Andrew