From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0F6DE42805; Wed, 22 Mar 2023 18:07:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 00971410EF; Wed, 22 Mar 2023 18:07:01 +0100 (CET) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mails.dpdk.org (Postfix) with ESMTP id CB36B40A84 for ; Wed, 22 Mar 2023 18:06:59 +0100 (CET) Received: by mail-pl1-f181.google.com with SMTP id bc12so19277861plb.0 for ; Wed, 22 Mar 2023 10:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; t=1679504819; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=C1Y+XOmshImcXC98zLuzgdlQYt/WFp+WYe/zhOsNs/4=; b=gbtDiptrN1+HhMN9+JkCbY85wNeOW05fRovb16U2QI2mc1i3hd5vFkNaIduMN2DXI1 TPiE1eT6KqGy1ePjdnbWfEkp35xxBOmeRSJizV3QPTh8+/DrCy6Ror4GPjpCcywpKrPr bQjjQ3s6BVQvql2eMQE1iYwC4vCH4ziRl26C1dxNgTY8oDOU6xFahGWKCOyCkSCEkEyD jrpzuGaclyunMFhv5f/DhqLjVHc71peRBiLwEdvTypIRbSTW6od7PptPiwJa4swg8YSI RBj5CeJRdkxvE3e6N5YBj/mT2Bn7jhl06xMVHfxOyJoGChZclY2F32dwXBYA+GlulYKJ exkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679504819; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=C1Y+XOmshImcXC98zLuzgdlQYt/WFp+WYe/zhOsNs/4=; b=sNIN0l1SpGExb9Uubc75ssp8vdSBJYevv979Wi+uzhD/ma0RFS3dBtlKKAXs/f0Zw5 7s2/AtpAKToMxpZ9hymoF4VCdvOwdiwLeD9GDM0Io97g4fTgZi91aaq/Cd++ICJv5I1j LK2NqFxZXJHWxyUN7k3Bg9EHjweh+VIUyILNKvvzyFspCHEeWoeZ5a22jHHb+ha30Akb pOOE6xzd6DrOqwx46LQQqfI4iLBRp3W19ruqXLbxRylrKBYh2VH2IYGugMTzBDqB6nqV R2koIo2rWT1+LT9AIIarLLJPwxayl5o0IpKH674R2YVkb3QYWgKuQIMIoYD+PyFUKZ/b ke6w== X-Gm-Message-State: AO0yUKXJSlivFlRDnYoK5TfiIWjBRozMD3tG72mhzPDQunLLqZgGxILd rtLZKf2SPrYg9TvVQX1vYC0jCOUDpapoH0+A7TFJxQ== X-Google-Smtp-Source: AK7set+GVKP1qojKNBZ6MzVbd64W4fukJLu0Gw6uZsFYKaQxxjAH25MNOeXHR+d4PQoHD5n4paFHNg== X-Received: by 2002:a05:6a20:b227:b0:cd:a334:a52b with SMTP id eh39-20020a056a20b22700b000cda334a52bmr233824pzb.30.1679504818744; Wed, 22 Mar 2023 10:06:58 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id c18-20020a62e812000000b006227c3d5e29sm10698765pfi.16.2023.03.22.10.06.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 10:06:58 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [RFC 0/2] add clang-format infrastructure Date: Wed, 22 Mar 2023 10:06:53 -0700 Message-Id: <20230322170655.45166-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This is first draft of how to use clang format when doing DPDK drivers and libraries. Stephen Hemminger (2): Add clang format file doc: add clang-format documentation .clang-format | 181 ++++++++++++++++++++++ doc/guides/contributing/clang-format.rst | 184 +++++++++++++++++++++++ doc/guides/contributing/index.rst | 1 + 3 files changed, 366 insertions(+) create mode 100644 .clang-format create mode 100644 doc/guides/contributing/clang-format.rst -- 2.39.2