[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Experiments with clang-format and exclude-list.json


  • To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
  • Date: Tue, 18 Jul 2023 09:13:50 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • 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=m0XePkEbSWTJC5UIvpPzrh3dN9VnBa8rDJpqduGckaM=; b=QFUmAwQ5TkpH4kVEUU6pgmtIbrubaV66yuBD+BYQkey7N6gbWY7+52+Fxe3qerKzLBoXNCHIRxmI7rX9wIK8SvQv517EOTB6Z+PBm21Y9gNSgWNcZFgNTjyY/T8jzdkKM/hca461pVi9Zwhcf1++MoMdQR8dc3kw9mir/yzo46dZEBAKeiR/XJbUej4H+Ff8W9W2ho0FWXp7jyYs8BAzRCG8bltn9bBSvEwJobynWL7xl7otfkZOY7ZdvamfwQVZUAmKW6AxNxLTWscUIMSTu0lxxQHSJFfhz/JLpEmvHt9N/lKuRTmep69FZ9qEGJCDA22pTg7lZxS2/6Fx03p0Gw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AKOT80SddKV+XYl5btqnbBXTMZ4YIL4VrKaSGN8Y400VI93NancgP9xh/jkx9mcFEbsuwZHXYe5lT81HYH5PIAtyXjxtrKiGAyV+TbohiPntMZZE4CSRKgjWQykOVmO6FhygCCg+xoPjpB9+ffohJ9Gr12gIALmbc5VokwqwlJuqmeob6En4RXIq8+gGmfaMY+gx86lpLNcYmMfNfmw4u+2DpAy2n3wjs/kdoKeSnW4WSzQteHi4pvNmBKnOcwg4htgaaThsj+AvEPXf4WKcvqrm2LRQ+sGS/4ROCcZ0Q3gt+lCe7ygUEZt0zP8wB1rwYfKOqrWrBTmnIGcnRWiFPA==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Tue, 18 Jul 2023 09:14:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHZuVgq6e+RULLXRkC5kSYhxnT0mQ==
  • Thread-topic: Experiments with clang-format and exclude-list.json

Hi all,

I’ve done some experiment with clang-format and the hypervisor code 
(xen/xen/**), I had the need to exclude some files from the tool
and I thought to use the exclude-list.json, but since it was intended for 
MISRA, I’m now asking your feedback about that.

In my opinion it could make sense, because with that list we are excluding 
everything that is external and not adopting the Xen
coding style.

Do you have an opinion on that? Can it be one file? Or should it be a separate 
file only for the coding style exclusion?

Cheers,
Luca


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.