tcpdump mailing list archives
Re: Has anyone got a clang-format for the tcpdump style?
From: Denis Ovsienko via tcpdump-workers <tcpdump-workers () lists tcpdump org>
Date: Sat, 7 Jan 2023 17:38:27 +0000
--- Begin Message --- From: Denis Ovsienko <denis () ovsienko info>
Date: Sat, 7 Jan 2023 17:38:27 +0000
On Wed, 4 Jan 2023 08:40:21 -0500 Bill Fenner via tcpdump-workers <tcpdump-workers () lists tcpdump org> wrote:Hi, I know the tcpdump style follows a bunch of bsd patterns, since it came from Berkeley in the first place. Does anyone have a clang-format config that reflects these coding conventions? One of the problems I have in upstreaming Arista-developed tcpdump code is making sure that the code fits in well with its surroundings, and using clang-format for that purpose would sure be easier.Bill, do you know if it would be practicable to apply code style per file instead of doing a flag day on entire repository? Also it might help before enforcing the style to get tcpdump 5.0 ready (to remove backporting into 4.99 from the problem space) and to merge/close as many pull requests as possible. -- Denis Ovsienko
--- End Message ---
_______________________________________________ tcpdump-workers mailing list tcpdump-workers () lists tcpdump org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- Has anyone got a clang-format for the tcpdump style? Bill Fenner via tcpdump-workers (Jan 04)
- Re: Has anyone got a clang-format for the tcpdump style? Denis Ovsienko via tcpdump-workers (Jan 07)
- Message not available
- Re: Has anyone got a clang-format for the tcpdump style? Bill Fenner via tcpdump-workers (Jan 07)