From owner-freebsd-hackers@freebsd.org Tue Apr 16 21:04:11 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3383157D88B for ; Tue, 16 Apr 2019 21:04:11 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it1-f179.google.com (mail-it1-f179.google.com [209.85.166.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BCD380950; Tue, 16 Apr 2019 21:04:10 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it1-f179.google.com with SMTP id s3so1093337itk.1; Tue, 16 Apr 2019 14:04:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=goseJGiIn/oEixIgy0kKkOy6CI29DIEZL+guIN9Mdpc=; b=EVxmCT7yUJGk45EpG2qYdk22nVSlTRsEtchZlsBlWpUxioc5pk8YC9DUGGO0Od29eT /yUs7h77/oVZ1gsH20KHLk//DhgIQIcLPpnLS6Tu3gWqafBlGQY6cs71tNttKylzb/oE 4yxU5174y0rAPoTf9FmmorazAuX/W+TzSgPRatNWuKJ7RE8SJApm+pU769Pb4+pqKxzh U2n80JCxJsI678VOfuCn2KKiUoqLpNVZAtuz0NI2jHVp4cskclkMhkckRMFo+mSJrGpK V/EylmFMKMDDXdaBvPpWXreapqcDIdwV20PnBuudhcQK27D0YyXJyRpNKTRIFYZ410qW h6ew== X-Gm-Message-State: APjAAAUb6ewzn5z3FCAZ15c67FwXDNU8tcyD91jIIyJSx6sFKsGwLdou sYUJt4hdBSeWrt4tOZxQTJ1k3NoGg7VA5oV7brQfog== X-Google-Smtp-Source: APXvYqxtrfL4NZrAILcgKzP8xKXLeWmy5B24cAK3xhyZYOHiYbwTflsK12wnHqIJT40nYW+ffqeh9noNmHKbYXs5f4g= X-Received: by 2002:a02:ab90:: with SMTP id t16mr58646018jan.119.1555448643553; Tue, 16 Apr 2019 14:04:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ed Maste Date: Tue, 16 Apr 2019 17:03:50 -0400 Message-ID: Subject: Re: Clang-format config for FreeBSD style To: Alexander Richardson Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 9BCD380950 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.179 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-5.55 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.81)[ip: (-7.90), ipnet: 209.85.128.0/17(-3.88), asn: 15169(-2.21), country: US(-0.06)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[179.166.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.73)[-0.731,0]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Apr 2019 21:04:11 -0000 On Tue, 16 Apr 2019 at 16:26, Alexander Richardson wrote: > > Hello all, > > For CheriBSD I have added a .clang-format file[1] that (at least based > on some simple checking) gets reasonably close to existing style. > Is there any interest in adding this to the main repository so that > future patches can easily be formatted using git-clang-format or > clang-format-diff. I'd be happy to have a .clang-format in the repository; even if it's not 100% correct it'd be nice to have something that gets close, for those who want to use it. I'd also be interested in improvements to clang-format itself to be able to fully match style(9).