Re: [PATCH v4 06/11] tools/ocaml: add .clang-format

2022-12-19 Thread Edwin Torok
> On 19 Dec 2022, at 12:03, Anthony PERARD wrote: > > On Fri, Dec 16, 2022 at 06:25:15PM +, Edwin Török wrote: >> Add a .clang-format configuration that tries to match CODING_STYLE where >> possible. > > Is there going to be a patch applying this to "tools/ocaml", like you > did with "mak

Re: [PATCH v4 06/11] tools/ocaml: add .clang-format

2022-12-19 Thread Anthony PERARD
On Fri, Dec 16, 2022 at 06:25:15PM +, Edwin Török wrote: > Add a .clang-format configuration that tries to match CODING_STYLE where > possible. Is there going to be a patch applying this to "tools/ocaml", like you did with "make format"? > I was not able to express the special casing of brace

[PATCH v4 06/11] tools/ocaml: add .clang-format

2022-12-16 Thread Edwin Török
Add a .clang-format configuration that tries to match CODING_STYLE where possible. I was not able to express the special casing of braces after 'do' though, this can only be controlled generally for all control statements. It is imperfect, but should be better than the existing bindings, which do