Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp10478ybz; Tue, 21 Apr 2020 14:05:37 -0700 (PDT) X-Google-Smtp-Source: APiQypJWx7U6ABLuwMqJTsLRMwkA8SNR76NhY5b+rksz/4VRAYxa8pNIdPysm/rIGpz9t/X6qAvd X-Received: by 2002:a05:6402:16d5:: with SMTP id r21mr21603808edx.150.1587503137377; Tue, 21 Apr 2020 14:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587503137; cv=none; d=google.com; s=arc-20160816; b=gZIW1OAz17e+wXBKhdo+tpg/DUTFnXT1GOBcpLE2hIfteTiCcx/caG7FVPbswiKxdv WuevlB1DsUKJYIOBAYJfvTxjPiD39j3rBzIHkXZ+Tm1t4Lpt8diSNfB0jQxb9+hev6Cm JQrw08+kMwWYR3PDxd+2WDdBVipjOmRJgNXsWcJGkuLIrOxh7JqCRnKz7+OFGxIJ2Cb+ fFLEfdaQ9pOEK3iEV9b3wwW/wTBhfHGnoYPPQf4rgEbmCJpYHqGKme3KFvh6mZLti4HG eJ7AcARWb3RHY/rrzko/K1vxTCvpVVZwzM7Ff7H2CdG5W6FnslZFmUMpgZ8fE2T4H6Na wBSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=D01UCKv/MItQguC8mrAilu88fpXx1W32uPOZRB3PJZw=; b=aVSHdvSPBja2gWu/sdzxmUFLc8E3eiF22QUehZKP0g6eNKgUTYggqMRJsV/ViT/BZI pLgeuSkLvo/5KkLDfxyogR8LxImF7v594d3CZpWHK8zY8DZdzMWgaexqOxqWzFl67yT+ ZqFZ6LJ26KP2pOFOwJThdRy/yjyXQOXWeRPo+xlPbZRk7Z2Vs/TfU+2aXEdefBGS+GQI FcPOkcUbPSTeIMkmfzuXaVpXazfxOuAg2kp6XZFfzi2iXCBoXu+sPdjUZaa3IfmJ/Jjr KNexzZDCACgr1xptfiNULLaUN9oZXxjAzn98zkEi1K4BLsjR+kUqdJ3HMYTtfzWmfWfS m2PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=bYm640oe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u3si1214495edy.541.2020.04.21.14.05.12; Tue, 21 Apr 2020 14:05:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=bYm640oe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726055AbgDUVDf (ORCPT + 99 others); Tue, 21 Apr 2020 17:03:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725850AbgDUVDe (ORCPT ); Tue, 21 Apr 2020 17:03:34 -0400 Received: from mail-yb1-xb42.google.com (mail-yb1-xb42.google.com [IPv6:2607:f8b0:4864:20::b42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAB8CC0610D5 for ; Tue, 21 Apr 2020 14:03:34 -0700 (PDT) Received: by mail-yb1-xb42.google.com with SMTP id i16so34333ybq.9 for ; Tue, 21 Apr 2020 14:03:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=D01UCKv/MItQguC8mrAilu88fpXx1W32uPOZRB3PJZw=; b=bYm640oeAhVA9NCZK2CCkb7t+VHMSBtBdHc230ZONtXxPm6MZiX5XvVPs8HaO2dWtu 27oqBNPDjPru7rEjMPUxcfNoLx/hERJNnPAI327ME2uQLv6xbAWEULPfUZjkDvqWG5fg mcDCZcEQLgfvv0lG4j4GSmu5vkqKYta7aAF6dXIdj5+RsMxaYWYvu/LBG2I46AhLwcga QJNMyOa3+qK9uGrd1WZEViqP7edeGBY5pw98RZnzwCvx8/TRVWKDCSRXXwZx2wpca0S/ JSAyA9M7ePLvVvrCfSZ1pnvqdRT3xMvZZdZXyjvj4JW/ipQ5SyVItafXOCTe7dAOtJCc N4pA== 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=D01UCKv/MItQguC8mrAilu88fpXx1W32uPOZRB3PJZw=; b=YVy/lc9GtDQFBCPQguSVmlR4dnkFHXEYDJWuaN70gsfsS7SIQlQKW6/Azsp9WV5Ukt mqR/bAl2PRkpDjhuvKKNPv9xPPn/kBFFsYSoRdljzbqHbwuxeXSEnpr9u6hyMvpgp4gC zX0CEiNo/qXCAkDUdJcp2LuyKE3e1stNAV2uUotiogJ3/keOTwfcctClwTv88TVhXXIM sAB3Z1HDA+PUJV407bQ2kcwY6JCiEsTDuEK/000HIxhJf6DvB/gDL8X6GGIfYclREbT9 njPXanExcdRf95wbafeybxCTVD19Z0vOXGExqW/ouFAvE1l4N81s5qsj5Ajd96EF7ezY BRmA== X-Gm-Message-State: AGi0PuY8JzM/EIfB12MsO5J/zrR2vWPXUNDrYDhNTV0bqPSKgTJEv/3v 4KImdbxKx+ZngbMwwlZ1B4j0MDY290GZlz4Vg3ObEA== X-Received: by 2002:a25:4443:: with SMTP id r64mr29908611yba.41.1587503013619; Tue, 21 Apr 2020 14:03:33 -0700 (PDT) MIME-Version: 1.0 References: <20200420190916.GA11695@gmail.com> In-Reply-To: From: Ian Rogers Date: Tue, 21 Apr 2020 14:03:22 -0700 Message-ID: Subject: Re: [GIT PULL] clang-format for v5.7-rc3 To: Linus Torvalds Cc: Miguel Ojeda , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 21, 2020 at 12:10 PM Linus Torvalds wrote: > > On Mon, Apr 20, 2020 at 12:09 PM Miguel Ojeda > wrote: > > > > - Don't indent C++ namespaces (Ian Rogers) > > I've taken this, since it doesn't matter, but I'm wondering at the > motivation for it (exactly because it shouldn't matter). Hi Linus! We (Google, Stephane Eranian, ..) have a tool that converts Intel's topdown metrics: https://download.01.org/perfmon/TMA_Metrics.xlsx into the json format used for metrics in perf. It is written in C++ and we are planning to upstream it. In C++ there is preference for anonymous namespaces over static functions and the namespace indentation was pretty annoying for this. There's a little more motivation in the commit message too. Thanks, Ian Rogers > Linus