Clang format

A nice Clang tool that formats C/C++ files so that your project can have a unified formatting style, thus making the code more readable and maintainable.

You can dump the formatting options of a specific style with the clang-format –style=google –dump-config command

The following table shows the current status of clang-formatting for the entire LLVM source tree.

https://clang.llvm.org/docs/ClangFormat.html


Leave a comment

Discover more from /root

Subscribe now to keep reading and get access to the full archive.

Continue reading