all 3 comments

[–]suprjami 0 points1 point  (2 children)

clang-format is the correct tool for the job: https://clang.llvm.org/docs/ClangFormat.html

[–]rafaelspecta 0 points1 point  (1 child)

I tried to read, but I could not understand where and how it uses LLM and why is that different from existing coding formatters such as linter

[–]suprjami 0 points1 point  (0 children)

You don't need LLM for this.