[llvm] [Workflow] Add new code format helper. (PR #66684)

Tobias Hieta via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 12:50:49 PDT 2023


tru wrote:

> Did you look into doing this at all? If so, do you have some documentation you could share in case someone else wants to try to implement it

it's not well documented. But apparently you can add a comment with a specific syntax:

https://github.com/orgs/community/discussions/24848#discussioncomment-3245615

You would have to parse the diff somehow, match it in the diff and make the comments. Seems like a lot of work.

This [tool](https://github.com/reviewdog/reviewdog) is supposed to be able to do that, but I haven't tested it and I didn't want to add any dependencies when it was not clear that we actually wanted suggestions at all.



https://github.com/llvm/llvm-project/pull/66684


More information about the llvm-commits mailing list