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 E5E664404C; Fri, 17 May 2024 11:31:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6F5224029B; Fri, 17 May 2024 11:31:07 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) by mails.dpdk.org (Postfix) with ESMTP id C876040268 for ; Fri, 17 May 2024 11:31:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715938266; x=1747474266; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=VANesGH+fGCcPv3Dxwhjv75T8/n9QR9SgwV3rKPghc8=; b=KDxskedftWAk4RytYYMVTMx7nNN7dwag6EIpFswBgsbavCxhw1qn9DgL cGLqQ3eqQgC4J39+NbonI1iLczr0PEeenhQX83uVytJUrsmjM1gUgMC+l 0aPbGnSZ1wsHvViu9Flu2a+GVG+U5wqFJgzO6GfwplWYTU4T2QObdvN9W xsiz+UR00mrOFefHNMqA4pZ6J4M+Fw0CJfiz4gVdjHYLrXLMgheHg+Jg9 1tGe0cddQ8Ltu84Gzbbm8W+5TkHcUFRFIkeIwMgNsQWSpzqg8guw5kTJt CGXrzHNCvXC7E5jdQSnUE06uy4hVbb1DNYlzX2mBwL/6V/+e1MSJqdeIZ A==; X-CSE-ConnectionGUID: /mrUZcQCS0CN8BrESFBpLg== X-CSE-MsgGUID: BJBH0g7bS4mqmH1zABfM7Q== X-IronPort-AV: E=McAfee;i="6600,9927,11074"; a="11569942" X-IronPort-AV: E=Sophos;i="6.08,167,1712646000"; d="scan'208";a="11569942" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2024 02:31:04 -0700 X-CSE-ConnectionGUID: PrT0XT0jQSigBcJRVcKQqA== X-CSE-MsgGUID: hZNpezY/R3WPpDCZ7L7x1g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,167,1712646000"; d="scan'208";a="31749152" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmviesa006.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 17 May 2024 02:31:04 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 17 May 2024 02:31:03 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Fri, 17 May 2024 02:31:03 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 17 May 2024 02:31:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ENVJ0HttZriFaX7ruyDstlVm8zibcF7p5YBxAP6LVfPx+XHe/kwfP9JE2/tgfugf9MIk0cJhdSQEYxrtq0UwMUo8KacaG0GTk7dhNM4cSpyweuZ2NWYjwaCfQQn2fr9jCe5oPypG7/QjeXeNaqGMG+zuMGf4SHdkwCyLD9zlTzdGD/FP7Ipu0PZZ339mv6CASjpYOaGq4K/4T55y4nUjAwEaVhMqmYCoTTDJ+4BaPLnoSNljWt2sJGNQiab5PhJR/2V6kYlXens+u+uFqr2Dy9ErMlS283lV/x42t157nz0je/Xo/RcaWdYfkcUmQRgFIAXnwJjA3oRxnFrDweZfzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=D+X6cKS+Kw0iZgEAA7V8IqRtQh/0BT7XZkAE7Wv943M=; b=lu7MoEXlriPpuSoO3bJkAhCSsoAk2rIKA15O0vd0S7rKVgJAW/u+8P0tQqVkbiMMwpVhaILAxcCyo4HCqak3G2y27dPMSTloJ9runH0Hwo9qc9AQ58sRZi+MADByx4LEgxLrcwF7zenhQkZbRJ0eg4vyuKYk24hwbVQ2ugAqcR8PZ7gk22otqVbeFzaAUBpkTwcxJNwWtjKgAUnbh9mKZ00Do7zcH/rgzXSD99eG+l+sH8Cuv//squYaoqZvpF//XdWu/0JNATf5uzlbkwlgMXAC5pTq8RPi4Z6OgSB9ceekibuIaIgNaPieHyVEuQp6//Rt9UEV74xO91LZW/YFjg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by PH7PR11MB6008.namprd11.prod.outlook.com (2603:10b6:510:1d0::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.30; Fri, 17 May 2024 09:31:01 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::69f8:59bf:3efd:9ee6]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::69f8:59bf:3efd:9ee6%3]) with mapi id 15.20.7587.025; Fri, 17 May 2024 09:31:01 +0000 Date: Fri, 17 May 2024 10:30:58 +0100 From: Bruce Richardson To: Abdullah =?iso-8859-1?Q?=D6mer_Yama=E7?= CC: Subject: Re: [PATCH v5] devtools: add .clang-format file Message-ID: References: <20240516082051.1255621-1-aomeryamac@gmail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240516082051.1255621-1-aomeryamac@gmail.com> X-ClientProxiedBy: DU2P251CA0017.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:230::16) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|PH7PR11MB6008:EE_ X-MS-Office365-Filtering-Correlation-Id: c6c036fd-92bd-4eda-7c88-08dc76541132 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|1800799015|376005; X-Microsoft-Antispam-Message-Info: =?iso-8859-1?Q?1ImyeYap3TZLmwxVqwYp/35xPKpw0T+w5THivIUk0t0OVVu1T0S3jOD1k8?= =?iso-8859-1?Q?tXJdEAhWqrzbebNSW84rymb16hi+i4jWiEzmMKsubaPZZAK0q0eEbiAb+q?= =?iso-8859-1?Q?OCq2Uhyrwvt2+gErLshloj7wEX+jxxRR9XQIyBW1CoBc1olMI6K3gfwrvO?= =?iso-8859-1?Q?S9x/nS/AqJ7b6iuktYlzcaWWCpEbwBVZOjquj64ZLlleG47qqn3GFzCtZC?= =?iso-8859-1?Q?MAU1Pfxo7YA+R1eekim5snrmfp2J3pZjyY33b4a7fpWN+OzYSGVp2VWIMQ?= =?iso-8859-1?Q?b7VhQQrDMmzVl3X4/FvKFwnNdTlN99lWUFzY3CrS+nBC2ORXKet6dcBT2K?= =?iso-8859-1?Q?SR4rgsUIngKektfCy4odnq6idvWusaI8Kk5jUvRC9MNGv7YO8EfEsT8Bwt?= =?iso-8859-1?Q?KKgj/8aENdNBYOG4ZvmeGsPuA3850ONsis4sARWFAhjbBIRuBXE2E57Z3W?= =?iso-8859-1?Q?qmsxujrrDiz3+UE6dpvsnRi7o2ZgrQG848qyjIOaYi454UH+RhUEbRm2nS?= =?iso-8859-1?Q?himiZSk4fjVcbMK+s2vF6uTWD5NkaK++12NH2rCyUBTHxLk2k35MBLNcng?= =?iso-8859-1?Q?XAYtPuVWIKgoKfLYcggBnOCfDLy7Yv/ZapnpUFGteVNlOlYJ33xVS/zX+9?= =?iso-8859-1?Q?6fsNioqImHEhTUp8LmAITIum4tzyJsgiRYPS16e1wJ7ct+5HKyZRfsRJi5?= =?iso-8859-1?Q?WPwLG7uextg/Bs/nKPIW0f9thPoJII0xkQf4lRZm24IgJ0flVl2e7hwDr5?= =?iso-8859-1?Q?SnzFt+KbRzw6WtkqiP7jklGjkNmcF5bRS7RGzfPAB4ny81VUyhc0ZxFOnH?= =?iso-8859-1?Q?mvmBwH62OB+RuJsWpygR6algryA74rU0iqiQzkPIZgbjLQJEMaHTDXqu+N?= =?iso-8859-1?Q?YNGyB4b5eWBzqHNXI8sa62OTdLgFciKVSiDDtC7M4lI81ogGbfwdsswArr?= =?iso-8859-1?Q?+KOwKfqPprAJYiBTgKbBQ49jug+S2bljzrHSSNEXJ2WS/wOWTsIO9dVF+x?= =?iso-8859-1?Q?VtFyOtdXsfHXjq2S+zQMc6AWLVBU27l/o9N/dOS83LzntdGswfH5g01HkF?= =?iso-8859-1?Q?4pCI/SgHo0B/v0ahQCcWMMlepG33nfU5lcTlMgKng9sNHuI6wgTHds98sY?= =?iso-8859-1?Q?jbbjAnImCfi6qspiRa8jWUka+36u6zX50BpYHltLh+ZM+VUla87qSSiD6t?= =?iso-8859-1?Q?kPBXLGiiGYvcspwDcMJYcX/U2PGuA07w7dOKDKCVhZHfbvxcKnbyP+ular?= =?iso-8859-1?Q?ntQvexAZqORjimRePd4jV6H3uR+Y7wDWEqmroK4W/gaCBST28/xf2ltYSO?= =?iso-8859-1?Q?ybHlTTPg4H4THxnj2j1wQ9ZQeQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(1800799015)(376005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?GKDaeXfecpw3E1TI86DOXdX/zsx4QfWzFe8s4aBxcHG4nHEabvTwhYLRlS?= =?iso-8859-1?Q?9ijuaqKNA46V24qlUjhMeudxaU7RCd2LqQ9z6ECmFLD7IzBs5uNC1EEmxM?= =?iso-8859-1?Q?aSNZ5WRF+afzFZwYiWd3p2kp1PQf761muusgzGBxRiOt2a2/KR1p8rA+kf?= =?iso-8859-1?Q?YHGDJ8qBBzhy9O2xRlr+bB+DJqjWsX1E7ZszesBIV7RbcNLbrxYANO+PUe?= =?iso-8859-1?Q?V5dcy+eQN5REioTHEBkN6H4CDVlcNWZC2FrocXYp36bNWWGWsyvG1I4Fv+?= =?iso-8859-1?Q?5r7Rsmgc7PbaLcJfuZozaHpV/bCeYrzwtQ9s5FXieubtUaznFOo5EDfSux?= =?iso-8859-1?Q?jEZyYqVURANTVuYCJsdEp+0DQptPr1p3hLUVc1sTlRYoGz0uGiX8IMnKgA?= =?iso-8859-1?Q?34+2e6GWQ5I147FtpRFu+m9+E+thAeKGOSmrn+22NjjGalAd0l5Z+i+JAA?= =?iso-8859-1?Q?8HHy4/n+ZrYxR7+xPBNQGoVkp4Lnvj8PhK0TCDx9I1lv8/JbPNbqY3x2wG?= =?iso-8859-1?Q?rPLI63bI9B5RXO1ZO7PMck/gHjJwDS9ASTr1xpjWxjECyN5u27lJuBxIb+?= =?iso-8859-1?Q?e897MINTG8CsNzPfoxePTWZF5/5C2ewKuoKfMAJTMzn/eX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iBi5pA+JkcXYoij1I1fwjR7+ssp12FAgPs+XKj3R+wY1dSvB?= =?iso-8859-1?Q?dGQasoFrKEOlzv4WDy7f8J0YajSx0lOc6YGMRkZvH4r7v6chXPIRCu9Dx8?= =?iso-8859-1?Q?0zQ8hSqdmnWTAyI+/PvX0iZB+7kbBMg8hv7txDEb/yiiPoAEigvFUh6Q?= =?iso-8859-1?Q?=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: c6c036fd-92bd-4eda-7c88-08dc76541132 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2024 09:31:01.8430 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Nx2A84lu/H/Afbc5teAIURsCP5He776JgQ2lGd3gaH3Rv/whu4nTVDvE5rWSbLk38lKsVAU0TgxNT0nY0NuVwvNEm1pEI7ovGPzcUaXRwfI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB6008 X-OriginatorOrg: intel.com 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 On Thu, May 16, 2024 at 08:20:51AM +0000, Abdullah Ömer Yamaç wrote: > clang-format is a tool to format C/C++/Objective-C code. It can be used > to reformat code to match a given coding style, or to ensure that code > adheres to a specific coding style. It helps to maintain a consistent > coding style across the DPDK codebase. > > .clang-format file overrides the default style options provided by > clang-format and large set of IDEs and text editors support it. > > Signed-off-by: Abdullah Ömer Yamaç > --- > .clang-format | 149 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 149 insertions(+) > create mode 100644 .clang-format > I think this is useful to have for new code esp. new libs/drivers. Acked-by: Bruce Richardson